espresso-sequencer
espresso-sequencer copied to clipboard
simplify interaction with multisig wallets in deployment scripts
Simplify the deployment & upgrade scripts to use the multisig wallet only in these situations:
- executing the
upgradeToAndCallmethod on the proxy to upgrade to a new implementation contract -calling methods that are restricted to onlyAdmin e.g.setPermissionedProver,disablePermissionedProverModeetc This assumes the multisig was set as the owner of the proxy as soon as it has been deployed.
Add the following checks
- the admin of the proxy is usable and indeed a multisig wallet