1. 05 Oct, 2024 5 commits
    • Mark Tyneway's avatar
      contracts: update chain assertions (#12323) · ca604d59
      Mark Tyneway authored
      * contracts: update chain assertions
      
      Updates the assertion that the storage is either 1 or 0xff.
      This enables the usage of `_disableInitializers` which is
      required for the Standard L2 Genesis project, so that
      the `SystemConfig` doesn't make external calls during its
      deployment.
      
      * lint: fix
      
      * nit: address naming
      
      * rebase and fix build
      
      * build: fix
      
      * build: fix
      ca604d59
    • Maurelian's avatar
      feat: Move DEFAULT_STARTING_ANCHOR_ROOTS to Constants library (#12332) · 035129de
      Maurelian authored
      * feat: Move DEFAULT_STARTING_ANCHOR_ROOTS to Constants library
      
      * feat: Move DEFAULT_STARTING_ANCHOR_ROOTS to scripts/libraries/Constants
      
      * fix: import error
      035129de
    • dependabot[bot]'s avatar
      dependabot(gomod): bump golang.org/x/time from 0.6.0 to 0.7.0 (#12327) · f2096a67
      dependabot[bot] authored
      Bumps [golang.org/x/time](https://github.com/golang/time) from 0.6.0 to 0.7.0.
      - [Commits](https://github.com/golang/time/compare/v0.6.0...v0.7.0)
      
      ---
      updated-dependencies:
      - dependency-name: golang.org/x/time
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      f2096a67
    • Maurelian's avatar
      feat: Add OPCM to deployImplementations (#12287) · 7789e6af
      Maurelian authored
      * feat: Move deployImplementations up to align with order of usage
      
      * feat: Add OPCM to deployImplementations
      
      * fix: compiler warning
      7789e6af
    • Maurelian's avatar
      feat: Replace deployImplementations with call to DeployImplementations.run() · 0a40d050
      Maurelian authored
       (#12260)
      
      * feat: Rename setupSuperchain to deploySuperchain
      
      * feat: Replace deployImplementations with call to DeployImplementations.run()
      
      * feat: Add implsUnstrict() to get all impl addresses
      
      * feat: Remove deployL1xDM and move its ChainAssertion to deployImplementations
      
      * feat: Remove deployOptimismPortal2 and move its assertion to deplyImpls
      
      * feat: Remove deployOptimismMintableFactory and move its assertion to deplyImpl
      
      * fix: test file name
      
      * fix: Incorrect implementation contract name in _implUnstrict()
      
      * feat: Add checkSystemConfigInterop
      
      * feat: Move unused deploySuperchainConfig to DeployOwnership
      
      * feat: Delete deployOptimismPortalInterop
      
      * feat: Delete unused FP deploy functions
      
      Preimage Oracle
      DelayedWeth
      DGF
      
      A ChainAssertion was also added for the PreimageOracle
      
      * feat: Delete deploySystemConfig
      
      * feat: remove superfluous Unstrict suffix from contract getters
      
      * feat: Improve reason string in checkSystemConfigI
      
      * feat: Add missing chainAssertions
      
      * feat: Require interop flag sanity
      
      * feat: limit fuzz runs in CI on this test
      0a40d050
  2. 04 Oct, 2024 7 commits
  3. 03 Oct, 2024 18 commits
  4. 02 Oct, 2024 10 commits
    • Maurelian's avatar
      feat: Extract deployment of pre-v1.6.0 code (#12233) · 33bc0bec
      Maurelian authored
      * feat: Add a test to simplify deploy script testing
      
      * fix: lint
      
      * feat: Add clarifying comments to DeployVariations_Test
      
      * feat: Extract deployment of pre-v1.6.0 code
      
      * feat: combine setupOPChain and DeployOpChain
      
      This will help to clarify where the DeployOpcChain script can be used.
      
      * fix: op-e2e issues with unfound contracts
      
      * fix: Undo conditional init of L2OutputOracle
      
      It needs to be in the state no matter what for op-e2e
      
      * fix: correct deploy ordering of legacy contracts
      
      * ugly but working
      
      * clean up legacy deployments
      
      * enable FP on system config custom gas token tests
      
      * op-e2e: allow no OptimismPortal impl if useFaultProofs
      
      * fix: lint
      33bc0bec
    • Inphi's avatar
      cannon: Define 64-bit syscalls (#12256) · 2c7de99f
      Inphi authored
      * cannon: Define 64-bit syscalls
      
      Also add SYS_FSTAT to the list of no-op syscalls emulated by MT-Cannon
      
      * update semver-lock
      2c7de99f
    • George Knee's avatar
      batcher: use abstract Queue type for blocks state (#12180) · d1f6501b
      George Knee authored
      * op-service: add queue package
      
      * batcher: use Queue type for blocks
      
      * revert changes to errors.As/Is
      
      * implement and use Peek operation
      
      * queue: add unit tests
      
      * add godoc
      
      * add more test cases
      
      permute expected / got
      
      * ensure enqueue and prepend are noops when args is empty
      
      * use queue.PeekN and queue.DequeueN
      
      * typo
      
      * queue: simplify method implementations
      
      * revert to old dequeue impl
      d1f6501b
    • Matthew Slipper's avatar
      op-deployer: Custom gas price estimator (#12239) · 1217d4ac
      Matthew Slipper authored
      * op-deployer: Custom gas price estimator
      
      Sepolia's fees are super high and extremely volatile right now. As a result, it became difficult for users to deploy new chains using op-deployer. The OPCM's deploy transaction buys most of the gas in the block, and the default gas price estimation logic in the transaction manager wasn't aggressive enough for the transactions to land on chain in a timely manner.
      
      This PR adds the ability to customize the transaction manager with a custom `GasPriceEstimator` function that returns the tip, base fee, and blob fee. I extracted the original logic in the transaction manager into a default estimator that will be used if one isn't specified. For op-deployer, I built a custom estimator that pads the head block's base fee by 20%, and multiplies the suggested tip by 10. After testing this, I was able to get transactions onto Sepolia reliably. The algorithm is pretty simple and overpays for transactions by a lot, but for op-deployer's use case it's more important that transactions land quickly than it is they be cheap. Deployments are a one-time thing.
      
      * code review updates
      
      * better default support
      
      * specific test for extension
      1217d4ac
    • Maurelian's avatar
      feat: Add a test to simplify deploy script testing (#12235) · ef46b058
      Maurelian authored
      * feat: Add a test to simplify deploy script testing
      
      * fix: lint
      
      * feat: Add clarifying comments to DeployVariations_Test
      ef46b058
    • Blaine Malone's avatar
      Configurable Dispute Game Parameters (#12228) · 28283a92
      Blaine Malone authored
      * Configurable Dispute Game Parameters
      
      * fix: more assertions for DeployOPChain.t.sol.
      
      * fix: running pre-pr command.
      
      * fix: changing dispute game types.
      
      * fix: semver lock file change.
      
      * fix: uint64 for maxGameDepth and splitDepth on go side.
      
      * fix: safe casting in solidity
      28283a92
    • Axel Kingsley's avatar
      Eth: BlockRef (#12251) · 40a70bda
      Axel Kingsley authored
      40a70bda
    • Maurelian's avatar
      feat: deployImplementations and depImplementationsInterop (#12226) · a12738b7
      Maurelian authored
      * feat: Use DeploySuperchain script in Deploy.s.sol
      
      Demonstrate that build breaks when using high level syntax
      
      * fix: Cannot set null protocol versions error
      
      * feat: Also save impls
      
      * fix: semver lock
      
      * fix: bump ProtocolVersions semver
      
      * feat: Add superchainProxyAdmin
      
      * feat: Undo removeing ProtocolVersion type from interface
      
      * fix: semver-lock
      
      * feat: remove setupOpChainAdmin
      
      * fix: transfer ProxyAdmin ownership after all setup is complete
      
      * feat: separate deployImplementations
      
      * feat: split up deployImplementations and deployImplementationsInterop
      
      * fix: lint
      a12738b7
    • Adrian Sutton's avatar
      op-e2e: Retrieve AllocType from System instead of env (#12221) · b1d119fc
      Adrian Sutton authored
      * op-e2e: Retrieve AllocType from System instead of env
      
      * Remove more uses of env.
      
      * op-e2e: Run mt-cannon as an allocType without needing special env vars.
      b1d119fc
    • Maurelian's avatar
      feat: Use DeploySuperchain script in Deploy.s.sol (#12203) · e7dbd848
      Maurelian authored
      * feat: Use DeploySuperchain script in Deploy.s.sol
      
      Demonstrate that build breaks when using high level syntax
      
      * fix: Cannot set null protocol versions error
      
      * feat: Also save impls
      
      * fix: semver lock
      
      * fix: bump ProtocolVersions semver
      
      * feat: Add superchainProxyAdmin
      
      * feat: Undo removeing ProtocolVersion type from interface
      
      * fix: semver-lock
      e7dbd848