• Mark Tyneway's avatar
    op-chain-ops: decouple from bindings (#10466) · 4dc6aa8e
    Mark Tyneway authored
    * op-chain-ops: decouple from bindings
    
    Another commit that removes bindings from `op-chain-ops`.
    The entire repo is very close to being completely decoupled
    from having a global set of bindings. This does have a little
    bit of code duplication, but it generally results in a more
    simple layout.
    
    Both the `crossdomain` and `upgrades` package end up with their
    own `bindings` package. The `crossdomain` package is mostly
    legacy but the `indexer` still depends on it. The `indexer`
    is in maintenance mode, after reth exex it makes a lot of sense
    to build indexers directly into reth. The `crossdomain` package
    uses the bindings to migrate and serialize L1 to L2 cross domain
    messages. These bindings never need to be updated.
    
    The `upgrades` package has a justfile added that can be used to
    regenerate the bindings. This makes it easier to generate bindings
    based on a specific release. Previously the `upgrades` bindings
    were coupled in a strange way and backwards compatibility
    hacks needed to exist. Now the team working on upgrades can update
    the bindings however they want so the proper upgrade can easily
    be generated.
    
    * upgrades: error case
    
    Since the AddressList doesn't have the `DisputeGameFactory`
    yet, it cannot be pulled into the upgrade scripts. Instead
    return an error so that we MUST update it.
    
    https://github.com/ethereum-optimism/superchain-registry/blob/110e744c97b4873384ad2da365c281639fc0668e/superchain/superchain.go#L194
    4dc6aa8e
Name
Last commit
Last update
..
clients Loading commit data...
cmd Loading commit data...
contracts Loading commit data...
crossdomain Loading commit data...
etherscan Loading commit data...
foundry Loading commit data...
genesis Loading commit data...
safe Loading commit data...
solc Loading commit data...
srcmap Loading commit data...
upgrades Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
justfile Loading commit data...