contracts-bedrock: upgrade script for post sherlock
Includes a complete upgrade script that can be ran for upgrading any op-stack based chain that was deployed before the sherlock audit fixes were all included. The script is ran with the following command: ```bash forge script \ scripts/upgrades/PostSherlock.s.sol \ --rpc-url $ETH_RPC_URL \ --private-key $PRIVATE_KEY \ --sig 'run(address,address)' \ $SAFE_ADDRESS \ $PROXY_ADMIN_ADDRESS ``` Signers should run the script and be sure to add any required flags so that hardware wallets can be used. The script will submit a single transaction that approves the upgrade and then checks to see if there have been enough approvals and then triggers the upgrade if there have been enough approvals. This comes with test coverage but requires a goerli RPC url. To run the tests, use the following command: ```bash forge test --contracts scripts/upgrades --rpc-url $ETH_RPC_URL ```
Showing
This diff is collapsed.
Please register or sign in to comment