• Mark Tyneway's avatar
    op-chain-ops: extended pause 2 step upgrades · 7efc4392
    Mark Tyneway authored
    The new storage setter contract with ability to set multiple
    slots in a single call is deployed at [0xd81f43eDBCAcb4c29a9bA38a13Ee5d79278270cC](https://etherscan.io/address/0xd81f43edbcacb4c29a9ba38a13ee5d79278270cc#code).
    It was deployed with create2 and should also be on goerli + sepolia and
    ay other chain that has a superchain deployed on it.
    
    Manual calls to `upgradeAndCall` are made. There isn't a great way to
    support multiple upgrades at a time within `op-upgrade` so adopting a
    "release" model where `op-upgrade` supports building a single version to
    another single version makes the most sense. It is too difficult given
    the current abstractions to build something that supports any upgrade to
    any upgrade arbitrarily. This sort of system is certainly possible to
    build but we would need to think more about the abstractions.
    
    One thing is this does not support a reverse upgrade aka downgrade.
    
    Each storage slot that was set as part of the upgrade to MCP is removed
    using the `StorageSetter` contract. A link to the storage layout file
    is included for each call to `setStorage`.
    7efc4392
Name
Last commit
Last update
..
clients Loading commit data...
cmd Loading commit data...
contracts Loading commit data...
crossdomain Loading commit data...
deployer Loading commit data...
genesis Loading commit data...
immutables Loading commit data...
safe Loading commit data...
srcmap Loading commit data...
state Loading commit data...
upgrades Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...