This repo allows third parties to easily verify that the contracts deployed for the v1.3.1 upgrade of Rocket Pool
match the source code of the contracts in the v1.3.1
tag of the Rocket Pool smart contract repository.
- It clones the
v1.3.1
tag from the official Rocket Pool GitHub repository at https://github.com/rocket-pool/rocketpool - It compares the source for
RocketUpgradeOneDotThreeDotOne.sol
against the verified source on Etherscan at the following addresses:- Holesky: 0x761C86751255d8eAc9727392DCf3C77831e2A347
- Mainnet: 0xc2C81454427b1E53Fdf5d3B45561e3c18F90f9eD
- It calls each of the view methods on the upgrade contract to retrieve the address of each of the new contracts
- It compares the verified source on Etherscan of each of these addresses to confirm they match the code in the git repo
Copy .env.example
to .env
and fill out the appropriate values.
The verify.sh
script performs the required setup and executes the verification script. Simply run:
./verify.sh