• Mark Tyneway's avatar
    op-node: flexible L2 genesis generation · 14d0ece7
    Mark Tyneway authored
    Allow for the `op-node` L2 genesis generation to use either
    hardhat artifacts or the `.deploy` L1Deployments JSON file
    that is created by the solidity deployment script. While adding
    extra logic, this makes genesis generation much easier to be
    consumed by the solidity scripts. It also sets up the ability
    to deprecate the need for maintaining hardhat deploy style
    artifacts. This will allow us to remove a lot of solidity code
    and remove the need to call `sync()` to generate the artifacts.
    The artifacts make less sense now, especially since it is planned
    to have one set of implementation contracts for the entire superchain.
    There isn't as much of a need to keep around artifacts for many
    contracts separated by network when they are shared between
    different L2s.
    14d0ece7
cmd.go 6.18 KB