Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #62

Open
wants to merge 778 commits into
base: op-es
Choose a base branch
from
Open

Merge upstream #62

wants to merge 778 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    5c2bcaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b128c7 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    a36291d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45e129c View commit details
    Browse the repository at this point in the history
  3. supervisor: APIs (ethereum-optimism#11586)

    * implement CheckMessage
    
    * Add CheckBlock API
    
    * Cleanup and Unit Tests
    
    * Add Invalid Safety Type
    
    * Use *ChainsDB instead of ChainsDB for SafetyCheckers
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    axelKingsley and protolambda authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ced7889 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0da4ba1 View commit details
    Browse the repository at this point in the history
  5. Implement CheckMessages API (ethereum-optimism#11621)

    * Implement CheckMessages API
    
    * Make AtLeastAsSafeAs a function of SafetyLevel
    
    * op-supervisor: checkMessages bundle message identifier and payload-hash
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    axelKingsley and protolambda authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ebdae42 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    4797ddb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36f093a View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. cannon: Fix stack patching (ethereum-optimism#11632)

    * cannon: Fix stack patching
    
    And add `memprofilerate=0` to envp
    
    * Update cannon/mipsevm/program/patch.go
    
    Co-authored-by: protolambda <[email protected]>
    
    * cleanup argv/envp string ptrs
    
    * nit
    
    * fix envar name
    
    * Update cannon/mipsevm/program/patch.go
    
    Co-authored-by: mbaxter <[email protected]>
    
    * align op-program arg0
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    Co-authored-by: mbaxter <[email protected]>
    3 people authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0dcccf6 View commit details
    Browse the repository at this point in the history
  2. Archive contract artifacts (ethereum-optimism#11626)

    To demonstrate how we can make our deployments more modular, this PR proposes archiving smart contract artifacts as tarballs that get uploaded to GCS. This  allows deployment tools to use precompiled artifacts rather than generating them on-the fly.
    
    The archives are named after the hash of all Solidity files in the contracts-bedrock folder, including those in `lib/`, plus some additional metadata files like `foundry.toml` and `semver-lock.json`. See `calculate-checksum.sh` for details on how the algorithm works. I'm open to feedback around what should make up the checksum.
    
    Since the atifacts are content-addressable, this PR also updates the CI pipeline to download the artifacts from GCS prior to running `pnpm monorepo`. When the Solidity codebase doesn't change, this allows the `pnpm monorepo` job to skip compiling Solidity altogether. While this won't work as well when we're actively modifying the Solidity codebase, since the hash will change, it does provide a modest speedup in CI.
    mslipper authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    aebf669 View commit details
    Browse the repository at this point in the history
  3. cannon: Add MTCannon-specific differential tests (ethereum-optimism#1…

    …1605)
    
    * cannon: Implement multithreaded clone fuzz test
    
    * cannon: Add more clone evm tests
    
    * cannon: Add evm test for GetTID syscall
    
    * cannon: Add evm test for SysExit
    
    * cannon: Add evm test for popping exited threads from the stack
    
    * cannon: Fix futex wait handling, add evm test
    
    * cannon: Add evm test for handling waiting thread
    
    * cannon: Add test utils for defining / validating MTState expectations
    
    * cannon: Add tests for futex wake, wake traversal
    
    * cannon: Add test for SysYield
    
    * cannon: Add SysOpen test, todos
    
    * cannon: Add test for SchedQuantum preemption, fix inconsistency
    
    * cannon: Add tests for noop, unsupported syscalls
    
    * cannon: Remove duplicate constants
    
    * cannon: Add tests for unsupported futex ops
    
    * cannon: Group traversal tests, fix TestEVM_WakeupTraversalStep
    
    * cannon: Add tests for nanosleep
    
    * cannon: Add additional testcase for wakeup traversal
    
    * cannon: Tweak futex wake tests
    
    * cannon: Update mt fuzz test to use new test utils
    
    * cannon: Rename contructor method for consistency
    
    * cannon: Add some simple tests for ExpectedMTState util
    
    * cannon: Add another validation test
    
    * cannon: Move syscall lists to tests where they're used
    
    * cannon: Add comment
    
    * cannon: Extract some evm test helpers
    
    * cannon: Cleanup - use require.Equalf for formatting
    
    * cannon: Rename test util to AssertEVMReverts
    
    * cannon: Add GetThreadStacks helper
    
    * cannon: Add a few more traversal tests
    mbaxter authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e53a86a View commit details
    Browse the repository at this point in the history
  4. Conductor and sequencer p2p refactoring (ethereum-optimism#11455)

    * Shutdown sequencer before stopping p2p
    
    * Check p2p isn't also disabled
    
    Co-authored-by: Sebastian Stammler <[email protected]>
    
    * Remove missed time.Sleep
    
    * Fix up use of SetupP2P.Disabled
    
    * Revert error check after RPC boundary
    
    * Add comment about context for StopSequencer
    
    * Add Config.p2pEnabled
    
    * op-node: Make Config.P2PEnabled public
    
    ---------
    
    Co-authored-by: Sebastian Stammler <[email protected]>
    anacrolix and sebastianst authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c7b91ab View commit details
    Browse the repository at this point in the history
  5. test: fix standard bridge interop tests (ethereum-optimism#11668)

    * test: fix L2 standard bridge interop tests
    
    * test: mock factory implementation instead of proxy
    agusduha authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    323e688 View commit details
    Browse the repository at this point in the history
  6. - make state publishing loop abort if the txpool state is not good (e…

    …thereum-optimism#11633)
    
    - protect txpool state vars with a mutex so they can be automically updated to avoid potential race
      condition
    roberto-bayardo authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    7373ce7 View commit details
    Browse the repository at this point in the history
  7. dependabot(gomod): bump github.com/hashicorp/raft from 1.7.0 to 1.7.1 (

    …ethereum-optimism#11670)
    
    Bumps [github.com/hashicorp/raft](https://github.com/hashicorp/raft) from 1.7.0 to 1.7.1.
    - [Release notes](https://github.com/hashicorp/raft/releases)
    - [Changelog](https://github.com/hashicorp/raft/blob/main/CHANGELOG.md)
    - [Commits](hashicorp/raft@v1.7.0...v1.7.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/hashicorp/raft
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    db8154b View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Use context interrupts consistently in more places (ethereum-optimism…

    …#11511)
    
    * Use context interrupts consistently in more places
    
    * Fix CI lint errors
    
    (cherry picked from commit 0410b7e)
    
    * op-service/ctxinterrupt: address review comments
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    anacrolix and protolambda authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    d520441 View commit details
    Browse the repository at this point in the history
  2. test: fix superchain erc20 invariants (ethereum-optimism#11688)

    ---------
    
    Co-authored-by: 0xDiscotech <[email protected]>
    agusduha and 0xDiscotech authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    f370113 View commit details
    Browse the repository at this point in the history
  3. feat: add createX preinstall (#29) (ethereum-optimism#11618)

    * feat: add createX preinstall
    
    * feat: change name from CreateXDeployer to CreateX
    agusduha authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    814c9de View commit details
    Browse the repository at this point in the history
  4. Update contracts publish job to use env vars rather than contexts (et…

    …hereum-optimism#11687)
    
    Contexts are scoped to a specific GitHub user group, which doesn't work with the GitHub merge queue or OSS contributors. This PR updates the packaging job to use raw project-level env vars instead (which are not user-scoped), and to only run on commits to `develop`.
    mslipper authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    3e68cf0 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. op-program: Prune L1 blocks after advancing origin (ethereum-optimism…

    …#11530)
    
    * op-program: Retry pruning L1 blocks when advancing origin to include the parent L1 origin
    
    Add e2e test to reproduce corner case when deploying a chain at L1 genesis.
    
    * Trim once, after any new origin is added.
    
    * Add unit test.
    
    * Add action test
    
    * Review feedback.
    
    * Improve test assertion
    ajsutton authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    18f6453 View commit details
    Browse the repository at this point in the history
  2. npmrc: delete (ethereum-optimism#11699)

    There is no longer any JS in the monorepo, we can remove
    the `.npmrc` as its no longer used
    tynes authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    96ecb2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c198a89 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. feat(op-program): Use PebbleDB for DiskKV (ethereum-optimism#11705)

    * feat(op-program): Use `PebbleDB` for `DiskKV`
    
    * close db
    
    * fix `testFaultProofProgramScenario` tests
    
    * switch to snappy compression
    
    cockroachdb/pebble#3434
    
    * fix tempdir
    
    * update compat release
    
    * defer k/v until preimage server and hinter have both exited
    clabby authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    8ab4d3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c211fa View commit details
    Browse the repository at this point in the history
  3. op-service/txmgr: multiple fixes / improvements (ethereum-optimism#11614

    )
    
    * - make immediate nonce-too-low error abort send (since it could never succeed otherwise)
    
    - make txmgr resubmit a transaction when fee bumping fails in case it has been dropped from the mempool
    
    - only bump fees when they really should be bumped
    
    - set txmgr overall default send timeout of 10 minutes. It was infinite, which led to permanently
      stuck transaction in combination with the other bugs fixed in this PR.
    
    * Update op-service/txmgr/txmgr_test.go
    
    ---------
    
    Co-authored-by: Sebastian Stammler <[email protected]>
    roberto-bayardo and sebastianst authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9452aa6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42085ce View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    375b976 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    957e13d View commit details
    Browse the repository at this point in the history
  3. chore: Fix lint error (ethereum-optimism#11714)

    golangci-lint v1.60.2 seems to report a new error when performing a nil check and length != 0 on maps. We're not using this version in CI yet but fix the error to simplify the code and provide for a future upgrade.
    ajsutton authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    5b907dc View commit details
    Browse the repository at this point in the history
  4. maint: no kontrol summaries in PRs (ethereum-optimism#11725)

    Removes the need for kontrol summaries to be generated at PR time.
    Summaries will now be generated during run-kontrol.sh instead.
    smartcontracts authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    669a0fb View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. feat: check interface differences in CI (ethereum-optimism#11677)

    Adds a new check script to contracts-bedrock that verifies that
    interfaces being added to the repository accurately represent
    the interface of the contract that the interface was generated
    for.
    smartcontracts authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    337749f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72eff5f View commit details
    Browse the repository at this point in the history
  3. op-program: Use PebbleDB for DiskKV (Reapply with fixes) (ethereum-op…

    …timism#11709)
    
    * feat(op-program): Use `PebbleDB` for `DiskKV` (ethereum-optimism#11705)
    
    * feat(op-program): Use `PebbleDB` for `DiskKV`
    
    * close db
    
    * fix `testFaultProofProgramScenario` tests
    
    * switch to snappy compression
    
    cockroachdb/pebble#3434
    
    * fix tempdir
    
    * update compat release
    
    * defer k/v until preimage server and hinter have both exited
    
    * Only open preimage source when actually needing preimages.
    
    Avoids concurrent access to the pebbledb.
    
    * op-program: Handle interrupts in host
    
    Ensures the preimage kv store is closed cleanly even when the process is sent an interrupt signal.
    Enables non-blocking IO so that read calls return io.EOF when a file handle is closed rather than blocking forever.
    
    * op-program: Restore file based kv store. Add pebble as an additional option.
    
    * op-program: Add option to specify KV store format to use
    
    * op-program: Switch pebble to perform sync writes.
    
    * op-program: Rename disk kv to file kv
    
    * op-program: Rename DBFormat to DataFormat for consistency.
    
    ---------
    
    Co-authored-by: clabby <[email protected]>
    ajsutton and clabby authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e80d23b View commit details
    Browse the repository at this point in the history
  4. fix: SuperchainWETH fuzz flake with bad sender (ethereum-optimism#11728)

    Fixes a number of places where SuperchainWETH fuzz tests can flake
    as a result of using a sender address that is the ETHLiquidity or
    SuperchainWETH contract.
    smartcontracts authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5a1a18d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8b421b View commit details
    Browse the repository at this point in the history
  6. maint: add interfaces for legacy contracts (ethereum-optimism#11625)

    Adds interfaces for the contracts inside of /legacy. Interface is
    not included for the LegacyMintableERC20 contract because that
    interface has already been defined elsewhere.
    smartcontracts authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e0f6e1e View commit details
    Browse the repository at this point in the history
  7. Slim down contracts-bedrock package (ethereum-optimism#11723)

    * Slim down contracts-bedrock package
    
    The contracts-bedrock package was over 2GB in size, mostly because it contained the Git repository. It also supported multiple platforms, which would lead to costly recompilation steps every time the image was used on a different platform (e.g., OSX).
    
    The PR updates the Dockerfile to no longer ship the Git repo. It also updates the Debian base image to a more modern, slimmed down version. The new image is <1G in size.
    
    * fix bakefile
    mslipper authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2f10fb7 View commit details
    Browse the repository at this point in the history
  8. fix: properly check all interfaces (ethereum-optimism#11734)

    Interfaces check script had a bug that would cause it to use the
    wrong ABI when checking an interface. Each compiler artifact only
    has a single ABI in it but this same ABI was being used for all
    contract definitions found within that file. Since each separate
    contract definition gets its own file anyway, this script now
    properly verifies by finding the specific definition that matches
    the filename.
    smartcontracts authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1f0d8a8 View commit details
    Browse the repository at this point in the history
  9. feat: update interface validation script to check semver (ethereum-op…

    …timism#11740)
    
    Updates the interface validation script to verify that all
    interface contracts are using Solidity ^0.8.0 exactly.
    smartcontracts authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    31f408b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3410109 View commit details
    Browse the repository at this point in the history
  11. fix: flake tests (ethereum-optimism#11742)

    * fix: add optimism mintable check on assume address helper
    
    * fix: mock interfaces checks
    
    * chore: remove unused import
    
    ---------
    
    Co-authored-by: 0xng <[email protected]>
    0xDiscotech and 0xng authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    f63cba6 View commit details
    Browse the repository at this point in the history
  12. repo: bump foundry (ethereum-optimism#11746)

    Bumps foundry to the following commit: foundry-rs/foundry@143abd6
    
    Release: https://github.com/foundry-rs/foundry/releases/tag/nightly
    
    This needs to be followed up with a rebuild of `ci-builder`
    tynes authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2272a5d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3f7a8ad View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    c2d0911 View commit details
    Browse the repository at this point in the history
  2. op-node: sequencer should clear inconsistent asyncGossip buffer on se…

    …quencer-start (ethereum-optimism#11724)
    
    * op-node: sequencer should clear inconsistent asyncGossip buffer on sequencer-start
    
    * op-node: test async-gossip clearing
    
    * Update op-node/rollup/sequencing/sequencer.go
    
    Co-authored-by: Adrian Sutton <[email protected]>
    
    ---------
    
    Co-authored-by: Adrian Sutton <[email protected]>
    protolambda and ajsutton authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    224c5fd View commit details
    Browse the repository at this point in the history
  3. Reapply "challenger: Introduce StateConverter to abstract loading VM …

    …states" (ethereum-optimism#11752)
    
    With fix to set a state converter when creating trace providers for test.
    ajsutton authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    df4d723 View commit details
    Browse the repository at this point in the history
  4. contracts-bedrock: Add OPSM file I/O for superchain deployments (ethe…

    …reum-optimism#11750)
    
    * contracts-bedrock: Add OPSM file I/O for superchain deployments
    
    * Update packages/contracts-bedrock/scripts/DeploySuperchain.s.sol
    
    Co-authored-by: Matt Solomon <[email protected]>
    
    * Update packages/contracts-bedrock/test/DeploySuperchain.t.sol
    
    Co-authored-by: Matt Solomon <[email protected]>
    
    * Address feedback from code review
    
    * Linter
    
    ---------
    
    Co-authored-by: Matt Solomon <[email protected]>
    mslipper and mds1 authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ec06858 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51150d8 View commit details
    Browse the repository at this point in the history
  6. op-conductor: adds raft log snapshot configs (ethereum-optimism#11745)

    * Refactors NewRaftConsensus param list into a config struct
    * Adds configuration support for SnapshotInterval, SnapshotThreshold, TrailingLogs
    zhwrd authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    91c7ed0 View commit details
    Browse the repository at this point in the history
  7. fix: initialization tests (ethereum-optimism#11674)

    Fixes the initialization tests, existing tests were not properly
    verifying that all of the initializable contracts were being
    accounted for.
    smartcontracts authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ffd9ed4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e7e5229 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f85f189 View commit details
    Browse the repository at this point in the history
  10. op-node: op-node interop block verification (devnet-1 scope) (ethereu…

    …m-optimism#11611)
    
    * op-node: experimental interop block verification
    
    * op-node: supervisor RPC init
    
    * op-e2e/actions: test interop safety checks
    
    * op-e2e/op-node: test fixes
    
    * op-node: update comments
    
    * op-node: unit-test interop deriver, trigger cross-safe updates on driver step, to poll for supervisor safety changes
    
    * op-node: add more comments, fix flag description
    
    * op-e2e: fix rebase, add missing argument
    protolambda authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ac19f2f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. cannon: Support binary serialisation for snapshots (ethereum-optimism…

    …#11718)
    
    * cannon: Add serialize utils for binary formats and automatic binary/json detection.
    
    * cannon: Support reading and writing states as binary or JSON
    
    * cannon: Generate mt prestate as gzipped binary.
    
    Use different versions for singlethreaded and multithreaded states.
    
    * cannon: Improve comments for serialization
    
    * cannon: Review feedback
    
    * cannon: Introduce reader and writer helpers to simplify code.
    ajsutton authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    67ba188 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31444eb View commit details
    Browse the repository at this point in the history
  3. Use local logger in data source (ethereum-optimism#11756)

    There may be other places where a global logger is used, but this instance is particularly important because one message warns the user of a misconfiguration that otherwise manifests in a seemingly unrelated bug (rollbacks on unsafe block consolidation).
    joshklop authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    247b399 View commit details
    Browse the repository at this point in the history
  4. fix: small typo fixes to DeploySuperchain.s.sol. (ethereum-optimism#1…

    …1758)
    
    * fix: small typo fixes to DeploySuperchain.s.sol.
    
    * fix: semgrep Javadoc-style comments are not allowed.
    
    * style: remove extra space
    
    ---------
    
    Co-authored-by: Matt Solomon <[email protected]>
    blmalone and mds1 authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    85c79a5 View commit details
    Browse the repository at this point in the history
  5. cannon: Port audit fixes (ethereum-optimism#11697)

    * cannon: Require boolean exited field to be encoded as 0 or 1
    
    * cannon: Port mmap solidity tests for MTCannon
    
    * cannon: Port srav solidity tests
    
    * cannon: Run semver-lock, snapshot tasks
    
    * cannon: Cut extra validation on thread.exited
    
    * cannon: Run semver lock
    
    * cannon: Update IMIPS2 interface
    mbaxter authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    873a4ea View commit details
    Browse the repository at this point in the history
  6. ci: pull cached artifacts for contracts tests (ethereum-optimism#11771)

    Contracts tests don't need to recompile if we can just use the
    artifacts instead.
    smartcontracts authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    ccf9d3e View commit details
    Browse the repository at this point in the history
  7. test: more blueprint tests (ethereum-optimism#11782)

    * test: more blueprint tests
    
    * address PR feedback
    mds1 authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    afcc51a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    49a4e9f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8733626 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4562b60 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    75c7326 View commit details
    Browse the repository at this point in the history
  12. ci: speed up CI by up to 50% (ethereum-optimism#11794)

    Introduces a number of improvements to CI that significantly
    reduce overal CI time by up to 50% of the previous time.
    smartcontracts authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    f954cbb View commit details
    Browse the repository at this point in the history
  13. dependabot(gomod): bump github.com/prometheus/client_golang (ethereum…

    …-optimism#11764)
    
    Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.2 to 1.20.3.
    - [Release notes](https://github.com/prometheus/client_golang/releases)
    - [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md)
    - [Commits](prometheus/client_golang@v1.20.2...v1.20.3)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/client_golang
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    1824499 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    52336b4 View commit details
    Browse the repository at this point in the history
  2. dependabot(gomod): bump golang.org/x/crypto from 0.26.0 to 0.27.0 (et…

    …hereum-optimism#11765)
    
    * dependabot(gomod): bump golang.org/x/crypto from 0.26.0 to 0.27.0
    
    Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.27.0.
    - [Commits](golang/crypto@v0.26.0...v0.27.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/crypto
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * deps: update
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Mark Tyneway <[email protected]>
    dependabot[bot] and tynes authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    fb735d6 View commit details
    Browse the repository at this point in the history
  3. Add Admin RPC for Adding New Chain Monitors (ethereum-optimism#11792)

    * Add Admin RPC for Adding New Chain Monitors
    
    * Update op-supervisor/supervisor/backend/db/db.go
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    axelKingsley and protolambda authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    747c9e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fbe14f View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. maint: move existing interfaces to folders (ethereum-optimism#11749)

    Moves any existing interfaces that are not already inside of
    their corresponding /interfaces folders into those folders.
    smartcontracts authored Sep 8, 2024
    Configuration menu
    Copy the full SHA
    9170e93 View commit details
    Browse the repository at this point in the history
  2. op-challenger: Support binary and JSON snapshots (ethereum-optimism#1…

    …1754)
    
    * op-challenger: Support loading json or binary cannon states.
    
    * op-challenger: Use binary cannon snapshots
    
    * op-challenger: Support downloading prestates in multiple formats.
    
    * op-challenger: Verify newly downloaded snapshots.
    
    * op-e2e: Update test to handle binary snapshots correctly.
    
    * op-e2e: Remove unused parameter
    
    * op-challenger: Add more varied data to the test cannon state.
    
    * op-challenger: Add more varied data to the test cannon state.
    ajsutton authored Sep 8, 2024
    Configuration menu
    Copy the full SHA
    40750a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Remove hardcoded entrypoint (ethereum-optimism#11801)

    Removes the `ENTRYPOINT` directive in the `contracts-bedrock` image. While convenient, using `ENTRYPOINT` makes building tooling on top of the image much harder since the entrypoint cannot be overridden without providing special flags to Docker. It is easier to use a dummy `CMD` instead that directs users to call specific tools when running the container. Functionally, this means users will run `docker run just <cmd>` instead of `docker run <cmd>` if they want to use the Justfile.
    mslipper authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    c27aead View commit details
    Browse the repository at this point in the history
  2. Allow cheatcodes on DeploySuperchain.s.sol (ethereum-optimism#11802)

    We need to add these calls otherwise calling `DeploySuperchain.s.sol` as a script with input/output files fails.
    mslipper authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e0f8589 View commit details
    Browse the repository at this point in the history
  3. op-program: Add recent op-program versions to reproducibility check (e…

    …thereum-optimism#11560)
    
    * op-program: Add recent op-program versions to reproducibility check
    
    * Add 1.3.1-rc.2
    ajsutton authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    c05f5ad View commit details
    Browse the repository at this point in the history
  4. ci: update contracts tests to split by file (ethereum-optimism#11797)

    Contracts tests were being split by test name which meant that
    Circle CI wouldn't be able to (eventually) be able to properly
    split these files by timings. Updates the CI job to split by
    file instead.
    smartcontracts authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    8404e91 View commit details
    Browse the repository at this point in the history
  5. fix ReadPreimage (ethereum-optimism#11805)

    * avoid out of bound for TrackingPreimageOracleReader.ReadPreimage
    
    * use p.GetPreimage
    zhiqiangxu authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    dc2490b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f46bea7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4428d10 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a0d3195 View commit details
    Browse the repository at this point in the history
  9. op-service: Make target destination when writing JSON/binary explicit (

    …ethereum-optimism#11800)
    
    Avoids being surprised by the special handling for - and empty string output paths.
    ajsutton authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f64d817 View commit details
    Browse the repository at this point in the history
  10. maint: add interface for L2OutputOracle (ethereum-optimism#11817)

    First in a series of PRs adding interfaces for L2 contracts. Since
    each of these changes involves touching a lot of other contracts
    it seemed easier to split this up into several PRs for legibility.
    smartcontracts authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    af78edd View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. cannon: Autodetect VM type from state (ethereum-optimism#11803)

    * cannon: Autodetect VM type from state in run command
    
    * cannon: Autodetect VM type from state in witness command
    
    * cannon: Remove vm type flag from run and witness
    
    * cannon: Only peek the version byte
    
    * cannon: Move all version handling to VersionedState, simplify a lot and forbid serializing multithreaded states to JSON
    
    * cannon: Rename method
    
    * op-challenger: Update cannon state parsing to use version detecting methods
    
    * cannon: Move CreateVM to FPVMState for simplicity
    
    Test read/write/create for VersionedState
    
    * cannon: Readd detect_test
    
    * cannon: Remove json names from multithreaded.State.
    
    Multithreaded states always use binary serialization.
    
    * cannon: Move vmtype to load_elf since it is no longer shared.
    
    * cannon: Ensure metadata is available and sleepCheck used even if debug is disabled.
    
    * op-challenger: Update canon state loading test to cover multiple state versions.
    ajsutton authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2116126 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc5cf52 View commit details
    Browse the repository at this point in the history
  3. Fix race condition in sequencer stopping logic (ethereum-optimism#11769)

    * Fix race condition in sequencer stopping logic
    
    * Add channel to signal that latestHead has been updated
    
    * Fix test
    
    * Store latest sealed separately, as latest gets cleared by engine.PayloadSuccessEvent
    
    * Cleanup tests
    
    * Add assertions on latest block ref variables
    
    * Re-check if sequencer is active
    mdehoog authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    7e97b67 View commit details
    Browse the repository at this point in the history
  4. feat: Add nested directory data format for op-program kvstore (ethere…

    …um-optimism#11795)
    
    * feat: Add nested directory data format for op-program kvstore
    
    * Review feedback: Update error message
    
    Co-authored-by: Adrian Sutton <[email protected]>
    
    * op-program: Make directory preimage format the default.
    
    ---------
    
    Co-authored-by: Adrian Sutton <[email protected]>
    Co-authored-by: Adrian Sutton <[email protected]>
    3 people authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    7f3d6ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2356c3 View commit details
    Browse the repository at this point in the history
  6. Add broadcast API to Go forge scripts (ethereum-optimism#11826)

    * Add broadcast API to Go forge scripts
    
    Adds a hooks-based API to collect transactions broadcasted via `vm.broadcast(*)` in the Go-based Forge scripts. Users pass an `OnBroadcast` hook to the host, which will be called with a `Broadcast` struct with the following fields whenever a transaction needs to be emitted:
    
    ```go
    type Broadcast struct {
    	From     common.Address
    	To       common.Address
    	Calldata []byte
    	Value    *big.Int
    }
    ```
    
    This API lets us layer on custom transaction management in the future which will be helpful for `op-deployer`.
    
    As part of this PR, I changed the internal `callStack` data structure to contain pointers to `CallFrame`s rather than passing by value. I discovered a bug where the pranked sender was not being cleared in subsequent calls due to an ineffectual assignment error. I took a look at the implementation and there are many places where assignments to call frames within the stack happen after converting the value to a reference, so converting the stack to store pointers in the first place both simplified the code and eliminated a class of errors in the future. I updated the public API methods to return copies of the internal structs to prevent accidental mutation.
    
    * Code review updates
    
    * moar review updates
    
    * fix bug with staticcall
    mslipper authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    219ebe0 View commit details
    Browse the repository at this point in the history
  7. fix(op-batcher): initAltDA before initChannelConfig (ethereum-optimis…

    …m#11816)
    
    * fix(op-batcher): initAltDA before initChannelConfig
    
    * chore(op-bastcher): fix comment
    emilianobonassi authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    91e306b View commit details
    Browse the repository at this point in the history
  8. op-node: read DACommitmentType from scr in LoadOPStackRollupConfig (e…

    …thereum-optimism#11830)
    
    * op-node: read DACommitmentType from scr in LoadOPStackRollupConfig
    
    * op-node: check for altda nil pointers before dereferencing
    
    * op-node: leave altDA config nil if not existent in scr config
    bitwiseguy authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    53fa7b9 View commit details
    Browse the repository at this point in the history
  9. OPSM: Begin implementing OP Stack Manager code and it's deployment (e…

    …thereum-optimism#11623)
    
    * begin supporting specifying versions in OPSM
    
    * add deploy logic
    
    * deploy OPSM along with implementations
    
    * scaffold opsm interface between scripts
    
    * fixes
    
    * mvp of DeployOPChain
    
    * start working on an e2e opsm test, currently reverts
    
    * fix tests
    
    * test cleanup
    
    * rename opsmSingleton to opsm
    
    * chore: remove unused imports
    
    * refactor: switch from 'new' to blueprints, 50% code size reduction
    
    * fix semgrep
    
    * feat: add OPSM interop tests
    
    * test: add missing specs
    
    * add DisputeGameFactory deployment
    
    * chore: update snapshots
    
    * fix opsm interop support
    
    * chore: update snapshots
    
    * Update packages/contracts-bedrock/test/DeployOPChain.t.sol
    
    * fix: add L1StandardBridge setter and initialization
    
    * chore: small clarification of deploy flow
    
    * Update packages/contracts-bedrock/scripts/DeployImplementations.s.sol
    
    Co-authored-by: Blaine Malone <[email protected]>
    
    * chore: add todos
    
    * fix: change bytes32 to string
    
    * rename addrs to opChainAddrs for clarity
    
    * test: fix assertion string numbering
    
    * chore: update semver lock:
    
    ---------
    
    Co-authored-by: Blaine Malone <[email protected]>
    mds1 and blmalone authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    de31478 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9d73864 View commit details
    Browse the repository at this point in the history
  11. fix: OptimismPortal fuzz flakes (ethereum-optimism#11818)

    OptimismPortal fuzz tests were flaking because the base fee would
    increase so much that there wouldn't be enough gas to burn for the
    user to be able to buy the gas that they want. Introduces an
    additional assumption that will prevent the elasticity multiplier
    and max change denominator from being such that the maximum
    change to the base fee won't cause us to run out of gas.
    smartcontracts authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    f93f9f4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    89c3d35 View commit details
    Browse the repository at this point in the history
  13. ci: make semgrep-scan use a large docker image (ethereum-optimism#11834)

    semgrep-scan kept failing with a medium docker image with 4g RAM.
    Updating this image to large seems to fix the issue.
    smartcontracts authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    3ac725a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4ffc7cf View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. feat: ban deposits interop (ethereum-optimism#11712)

    * interop: disable interop messages in force-deposits
    
    Co-authored-by: Disco <[email protected]>
    
    * interop: clean up config helpers
    
    * op-node: fix/improve L1 info tx tests
    
    * op-node: fix attributes test
    
    * op-node: fix sequence-number usage in post-interop system deposit, fix tests
    
    * op-contracts: L1Block interop: fix diff, remove duplicate test from renaming
    
    * contracts: update metadata
    
    * contracts: fix build warnings
    
    * contracts: fix interface build
    
    * script: ignore
    
    * lint: fix
    
    * test: .testdata directory
    
    * tests: fix revert
    
    ---------
    
    Co-authored-by: Disco <[email protected]>
    Co-authored-by: protolambda <[email protected]>
    Co-authored-by: Mark Tyneway <[email protected]>
    4 people authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    627f7af View commit details
    Browse the repository at this point in the history
  2. Improvements/bugfixes to Go forge scripts (ethereum-optimism#11838)

    * Improvements/bugfixes to Go forge scripts
    
    Adds some improvements to the Go forge scripts:
    
    - Adds a `GasUsed` field to the `Broadcast` struct so that transaction broadcast utilities can use it for gas estimation. Gas estimation using the RPC will fail when sending transactions in parallel since the state can change significantly between calls.
    - Fixes a bug in the `vm.broadcast` cheatcode where sender nonce were not increased for `vm.CALL`s. This led to a mismatch between the contract addresses generated by the Forge tooling, and what was actually being generated onchain.
    
    * op-chain-ops: isolate broadcast functionality
    
    * review updates
    
    * wrap in broadcast check
    
    * Add nonce tests
    
    * Update op-chain-ops/script/script.go
    
    Co-authored-by: protolambda <[email protected]>
    
    * Fix test
    
    * op-chain-ops: track broadcast nonce, add sanity checks
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    mslipper and protolambda authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    f84c92c View commit details
    Browse the repository at this point in the history
  3. OPSM: remove structs from DeploySuperchain (ethereum-optimism#11833)

    * refactor: remove structs from DeploySuperchainInput and DeploySuperchainOutput
    
    * test: fix tests
    
    * test: fix test
    
    * chore: remove outdated struct references
    
    * pr feedback
    
    * chore: code comments
    mds1 authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9a22240 View commit details
    Browse the repository at this point in the history
  4. maint: add more L1 interfaces (ethereum-optimism#11822)

    Another PR adding contract interfaces. L1 contract interfaces are
    way more involved than everything else so we're required to start
    replacing the contracts with interfaces all over the place.
    smartcontracts authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    de86922 View commit details
    Browse the repository at this point in the history
  5. ci: selectively build contracts (ethereum-optimism#11824)

    Updates the contracts-bedrock-tests job to only build the specific
    tests that are being tested as part of the test split for that
    job. Also merges the other contracts-bedrock-build with
    build-devnet-allocs since this is a bottleneck now. Overall impact
    is that CI time is now 7-10 minutes.
    smartcontracts authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    707791b View commit details
    Browse the repository at this point in the history
  6. Add entrypoint to deploy against existing Superchain (ethereum-optimi…

    …sm#11791)
    
    * Add entrypoint to deploy against existing Superchain
    
    Creates a separate entrypoint in the deploy script to allow an L2 to be deployed against an existing set of Superchain contracts. The deployment assumes that the Superchain contracts have been deployed correctly. The L2 still gets its own ProxyAdmin, AddressManager, and Safe. The API is additive and backwards-compatible.
    
    * Update packages/contracts-bedrock/scripts/deploy/Deploy.s.sol
    
    Co-authored-by: Maurelian <[email protected]>
    
    * remove redundant call
    
    ---------
    
    Co-authored-by: Maurelian <[email protected]>
    mslipper and maurelian authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    84b1cde View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    144a775 View commit details
    Browse the repository at this point in the history
  8. feat: concurrent alt-da requests (ethereum-optimism#11698)

    * feat: initial goroutine blob submission implementation
    
    test(batcher): add e2e test for concurrent altda requests
    
    doc: add explanation comment for FakeDAServer
    
    chore: fix if condition in altda sendTransaction path
    
    feat: add maxConcurrentDaRequests config flag + semaphore
    
    refactor: batcher to use errgroup for da instead of separate semaphore/waitgroup
    
    fix: nil pointer bug after using wrong function after rebase
    
    fix: defn of maxConcurrentDaRequests=0
    
    fix: TestBatcherConcurrentAltDARequests
    
    chore: remove unneeded if statement around time.Sleep
    
    refactor: use TryGo instead of Go to make logic local and easier to read
    
    chore: clean up some comments in batcher
    
    chore: make batcher shutdown cancel pending altda requests by using shutdownCtx instead of killCtx
    
    * chore(batcher): make altda wg wait + log only when useAltDa is true
    
    * refactor: batcher altda submission code into its own function
    
    * test: refactor batcher e2e test to only count batcher txs
    
    * chore: log errors from wait functions
    
    * chore: refactor and minimize time that e2e batcher system tests can run
    
    * chore: lower timeout duration in test
    
    * fix(batcher): maxConcurentDARequests was not being initialized
    samlaf authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    88b1a95 View commit details
    Browse the repository at this point in the history
  9. feat: run extra fuzz rounds for new fuzz tests (ethereum-optimism#11748)

    Adds a new script that can run extra fuzz test iterations when
    new fuzz tests are added. Can be used in CI or locally to make
    sure that new fuzz tests aren't flaky.
    smartcontracts authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9d8c342 View commit details
    Browse the repository at this point in the history
  10. Release op-contracts/v1.6.0 (ethereum-optimism#11760)

    * op-contracts/v1.6.0-rc.1 release (ethereum-optimism#11528)
    
    * Fix deploy-config absolute prestate
    
    * chore: update semver-lock
    
    ---------
    
    Co-authored-by: smartcontracts <[email protected]>
    Co-authored-by: Kelvin Fichter <[email protected]>
    3 people authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c21d0c5 View commit details
    Browse the repository at this point in the history
  11. proofs Add a proofs-tools docker image (ethereum-optimism#11825)

    * op-challenger: Add a "big" op-challenger docker image including asterisc and kona
    
    * proofs-tools: Rename op-challenger-deps to proofs-tools and use tagged asterisc and kona sources.
    
    * proofs-tools: Use more recent version of challenger for testing
    
    * proofs-tools: Remove TODO
    
    * proofs-tools: Only build for amd64 - kona doesn't support arm64.
    
    * proofs-tools: Add README
    
    * proofs-tools: Use challenger v1.1.0
    ajsutton authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    327e6e6 View commit details
    Browse the repository at this point in the history
  12. maint: add remaining L1 contract interfaces (ethereum-optimism#11848)

    Adds interfaces for all remaining L1 contracts. L2 contracts are
    next!
    smartcontracts authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    06a62ea View commit details
    Browse the repository at this point in the history
  13. feat: Run op-program in op-e2e action tests (ethereum-optimism#11846

    )
    
    * feat: Run `op-program` in `op-e2e` action tests
    
    * configurable forks
    
    * golint / op-program test
    
    * use correct endpoint
    clabby authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    89c9fef View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. fix: add IBeacon to interface check ignore (ethereum-optimism#11860)

    IBeacon should've thrown an error but didn't, need to investigate
    why that was the case. For now I've added it to the ignore list.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    489d93c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d91f92a View commit details
    Browse the repository at this point in the history
  3. maint: add comment to OptimismPortal2 proof submitters mapping (ether…

    …eum-optimism#11853)
    
    Adds a comment to OptimismPortal2 that further explains the
    proofSubmitters mapping.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    820636f View commit details
    Browse the repository at this point in the history
  4. fix: add extra context to check interfaces script logs (ethereum-opti…

    …mism#11861)
    
    Updates the output of the check-interfaces script to be more clear
    about cases when removing items from the EXCLUDE_CONTRACTS list is
    acceptable and how to verify that an item is unnecessary.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    bd3955a View commit details
    Browse the repository at this point in the history
  5. feat: Helper for dumping fp-tests fixtures in op-program action t…

    …ests (ethereum-optimism#11855)
    
    * feat: Helper for dumping `fp-tests` fixtures in `op-program` action tests
    
    * adrian review
    clabby authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    320e11d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5cdcfd4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4656d49 View commit details
    Browse the repository at this point in the history
  8. chore: Cleanup proofs actions (ethereum-optimism#11858)

    * chore: Cleanup proofs actions
    
    * tidy
    
    * lint
    
    * adrian review
    
    * move `RunFaultProofProgram` onto the `L2FaultProofEnv` type
    clabby authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    77f7268 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e9337db View commit details
    Browse the repository at this point in the history
  10. cannon: Fix GC emulation of Go programs (ethereum-optimism#11704)

    * cannon: Fix GC emulation of Go programs
    
    Improves Linux/MIPS32 emulation for Go programs that utilize the garbage
    collector and goroutine scheduling.
    
    This adds support for the following syscalls:
    
    - getpid - used by the go scheduler
    - clock_gettime - used by the go scheduler and for GC assists and to properly emulate
      time related operations such as `time.Sleep`.
    
    Note on GC assists:
    
    The Go GC relies on `clock_gettime` for GC "assists", whereby a mutator can perform a little bit
    of GC without waiting for the scheduler to do so.
    A monotonic clock (runtime.nanotime) is used to compute the current goroutine's compute budget.
    By modeling a MIPS32 CPU that runs at some clock speed (ex: 10 MHz), we can provide a consistent
    emulation of monotonic time needed by the Go runtime.
    All other clock_gettime flags are handled as unimplemented syscalls.
    
    * fix unsupported syscalls test
    
    * fix some review comments
    
    * address review comments
    
    * update snapshots
    
    * fuzz invalid memory proof
    
    * reduce test runtime
    
    * tweak realtime emulation
    
    * reduce test runtime
    
    * set a high timeout for heavy fuzz tests
    
    * simplify fuzz
    
    * fix heavy tests
    Inphi authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    7ff5e6e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e374443 View commit details
    Browse the repository at this point in the history
  12. chore(op-program): Turn off fsync on pebble KV store (ethereum-opti…

    …mism#11863)
    
    * chore: Cleanup proofs actions
    
    * tidy
    
    * lint
    
    * adrian review
    
    * move `RunFaultProofProgram` onto the `L2FaultProofEnv` type
    
    * chore(op-program): Turn off `fsync` on pebble KV store
    clabby authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    d887cfa View commit details
    Browse the repository at this point in the history
  13. Add SendAsync to TxMgr (ethereum-optimism#11843)

    * Add SendAsync to TxMgr
    
    Adds a SendAsync method to TxMgr. I'd like to use this for `op-deployer`, which needs to send multiple transactions in parallel but with predictable nonces. `SendAsync` returns a channel that resolves with the result of each send, but synchronously increases the nonce and prepares the first send prior to returning.
    
    * review updates + tests
    mslipper authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    97aa08a View commit details
    Browse the repository at this point in the history
  14. feat: introduce OptimismSuperchainERC20Factory (ethereum-optimism#11617)

    * test: add L2 standard bridge interop unit tests (#13)
    
    * test: add L2 standard bridge interop unit tests
    
    * fix: add tests natspec
    
    * fix: unit tests fixes
    
    * fix: super to legacy tests failing
    
    * fix: mock and expect mint and burn
    
    * fix: add generic factory interface (#14)
    
    * test: add L2 standard bridge interop unit tests
    
    * fix: add tests natspec
    
    * fix: add generic factory interface
    
    * feat: modify OptimismMintableERC20Factory for convert (#17)
    
    * test: add L2 standard bridge interop unit tests
    
    * fix: add tests natspec
    
    * fix: add generic factory interface
    
    * feat: modify OptimismMintableERC20Factory for convert
    
    * fix: use only a public function for create3
    
    * feat: rollback interop factory, modify legacy one
    
    * fix: delete local token return variable
    
    * fix: PR fixes
    
    * feat: add superchain erc20 factory implementation (#23)
    
    * feat: add superchain erc20 factory implementation
    
    * fix: remove createX comments
    
    * test: add superchain erc20 factory tests (#25)
    
    * test: add superchain erc20 factory tests
    
    * test: add erc20 asserts
    
    * test: fix expect emit
    
    * fix: remove comments
    
    * feat: add constructor to superchain ERC20 beacon (#34)
    
    * test: remove factory predeploy etch
    
    ----------
    
    Co-authored-by: 0xng <[email protected]>
    Co-authored-by: 0xParticle <[email protected]>
    Co-authored-by: gotzenx <[email protected]>
    
    * fix: set an arbitrary address for superchain erc20 impl
    
    * fix: deploy a proxy for the beacon on genesis (#45)
    
    
    ---------
    
    Co-authored-by: 0xng <[email protected]>
    
    * fix: conflicts and imports
    
    * fix: interfaces
    
    * chore: add .testdata
    
    * fix: adding back .testdata to gitignore
    
    * fix: new conflicts from ci improvements
    
    ---------
    
    Co-authored-by: 0xng <[email protected]>
    Co-authored-by: 0xParticle <[email protected]>
    Co-authored-by: gotzenx <[email protected]>
    Co-authored-by: Disco <[email protected]>
    5 people authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    232c54d View commit details
    Browse the repository at this point in the history
  15. fix: do not delete test data directory (ethereum-optimism#11869)

    Our "just clean" command was deleting the entirety of .testdata
    which gets in several scripts now. We don't actually want to
    delete the entirety of .testdata, we want to delete anything
    inside of it (except for the gitkeep file).
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0260adb View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    849680b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    87af6f0 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fe4890f View commit details
    Browse the repository at this point in the history
  19. Add op-deployer proof-of-concept (ethereum-optimism#11804)

    This PR adds a proof-of-concept for `op-deployer`, a CLI tool that allows declarative management of live OP Stack chains. This POC supports initializing the declarative chain config (called an "intent") and deploying the Superchain smart contracts using the OP Stack Manager.
    
    An example intent for a Sepolia chain looks like this:
    
    ```toml
    l1ChainID = 11155111
    useFaultProofs = true
    useAltDA = false
    fundDevAccounts = true
    contractArtifactsURL = "file:///Users/matthewslipper/dev/optimism/packages/contracts-bedrock/forge-artifacts"
    
    [superchainRoles]
      proxyAdminOwner = "0xb9cdf788704088a4c0191d045c151fcbe2db14a4"
      protocolVersionsOwner = "0xb910764be39c84d572ff17713c615b5bfd7df650"
      guardian = "0x8c7e4a51acb17719d225bd17598b8a94b46c8767"
    ```
    
    When deployed, it produces a state file that looks like this:
    
    ```json
    {
      "version": 1,
      "appliedIntent": {
        "l1ChainID": 11155111,
        "superchainRoles": {
          "proxyAdminOwner": "0xb9cdf788704088a4c0191d045c151fcbe2db14a4",
          "protocolVersionsOwner": "0xb910764be39c84d572ff17713c615b5bfd7df650",
          "guardian": "0x8c7e4a51acb17719d225bd17598b8a94b46c8767"
        },
        "useFaultProofs": true,
        "useAltDA": false,
        "fundDevAccounts": true,
        "contractArtifactsURL": "file:///Users/matthewslipper/dev/optimism/packages/contracts-bedrock/forge-artifacts",
        "chains": null
      },
      "superchainDeployment": {
        "proxyAdminAddress": "0x54a6088c04a7782e69b5031579a1973a9e3c1a8c",
        "superchainConfigProxyAddress": "0xc969afc4799a9350f9f05b60748bc62f2829b03a",
        "superchainConfigImplAddress": "0x08426b74350e7cba5b52be4909c542d28b6b3962",
        "protocolVersionsProxyAddress": "0x212a023892803c7570eb317c77672c8391bf3dde",
        "protocolVersionsImplAddress": "0x2633ac74edb7ae1f1b5656e042285015f9ee477d"
      }
    }
    ```
    
    To use `op-deployer`, run `op-deployer init --dev --l1-chain-id <chain-id>`. This will initialize a deployment intent using the development keys in the repo. Then, run `op-deployer apply --l1-rpc-url <l1-rpc> --private-key <deployer-private-key>` to apply the deployment.
    
    - The contracts deployment is performed by the local Go/Forge tooling.
    - Upgrades of the contracts (i.e. modifying them after deploying the contracts afresh) is not currently supported. This will be supported in the future.
    - The rest of the pipeline (i.e., deploying L2s and generating genesis files) is not included in this PR to keep it smaller and allow us to get buy-in on the fundamental concepts behind `op-deployer` before further implementation.
    mslipper authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    e9b80ee View commit details
    Browse the repository at this point in the history
  20. fix(ci): skip files without modified functions (ethereum-optimism#11891)

    Updates test-heavy-fuzz-modified-tests to skip any files that
    don't have any modified fuzz tests.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c3daaf4 View commit details
    Browse the repository at this point in the history
  21. fix(ci): tweak heavy fuzz run parameters (ethereum-optimism#11894)

    Tweaks various parameters for the heavy fuzz run tests to prevent
    the test from taking too long. We can run a daily super heavy fuzz
    run instead to catch any rare flakes.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    ea665b5 View commit details
    Browse the repository at this point in the history
  22. discard candidate when ahead (ethereum-optimism#11874)

    * discard candidate when ahead
    
    * also discard result.Unsafe for consistency
    
    * remove unnecessary type convertion for FakeGenesis
    
    * Revert "also discard result.Unsafe for consistency"
    
    This reverts commit d2288d4.
    
    * remove type cast
    zhiqiangxu authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    e3cf320 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7d8ffa2 View commit details
    Browse the repository at this point in the history
  24. maint: add interfaces for governance contracts (ethereum-optimism#11878)

    Adds interfaces for the two governance contracts.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    fb11507 View commit details
    Browse the repository at this point in the history
  25. maint: rename Safe folder to safe (ethereum-optimism#11882)

    Renames the Safe folder (uppercase) to safe (lowercase) in line
    with all other folders.
    smartcontracts authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    935de9c View commit details
    Browse the repository at this point in the history
  26. opsm: remove remaining structs (ethereum-optimism#11854)

    * refactor: remove structs from DeployImplementations
    
    * refactor: remove structs from DeployOPChain
    
    * test: fix tests
    
    * Update packages/contracts-bedrock/test/DeployOPChain.t.sol
    
    Co-authored-by: Blaine Malone <[email protected]>
    
    * Update packages/contracts-bedrock/test/DeployOPChain.t.sol
    
    Co-authored-by: Blaine Malone <[email protected]>
    
    * test: add missing assertions
    
    * fix: update fuzz test timeout
    
    ---------
    
    Co-authored-by: Blaine Malone <[email protected]>
    Co-authored-by: Kelvin Fichter <[email protected]>
    3 people authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    ef1bf0a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. feat: Add channel timeout tests for op-program (ethereum-optimism#1…

    …1885)
    
    * feat: Add channel timeout tests for `op-program`
    
    * typo
    
    * assert error
    
    * fix comment
    clabby authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    deb9bac View commit details
    Browse the repository at this point in the history
  2. feat: Add garbage frame tests for op-program (ethereum-optimism#11896)

    * feat: Add channel timeout tests for `op-program`
    
    * typo
    
    * assert error
    
    * fix comment
    
    * feat: Add garbage frame tests for `op-program`
    
    * assert error
    
    * fix comment
    clabby authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e9ba6ac View commit details
    Browse the repository at this point in the history
  3. feat: mintable with permit (ethereum-optimism#11868)

    * contracts-bedrock: add permit functionality to mintable erc20
    
    Adds `permit` functionality to `OptimismMintableERC20` tokens
    that are deployed by the `OptimismMintableERC20Factory`.
    
    * feat: max approve permit2 in ERC20Mintable
    
    This commit max approves permit2 automatically for all holders of the
    ERC20 bridge token. This enables all users on OP stack chains to skip an
    approval step for actions on protocols utilizing permit2 e.g. Uniswap
    
    * fix: constants first
    
    * semver-lock: update
    
    * snapshots: fix
    
    * contracts: add natspec
    
    * semver-lock: update
    
    * contracts-bedrock: fix nits
    
    * snapshots: update
    
    ---------
    
    Co-authored-by: Mark Toda <[email protected]>
    tynes and marktoda authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9e1f077 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e29474 View commit details
    Browse the repository at this point in the history
  5. fix: incorrect import in ManageDrippie.s.sol (ethereum-optimism#11898)

    Fixes an incorrect import inside of ManageDrippie.s.sol. Seems to
    work just fine when forge install is executed but not otherwise.
    smartcontracts authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3dbcee1 View commit details
    Browse the repository at this point in the history
  6. op-e2e: Setup mt-cannon for tests (ethereum-optimism#11881)

    * op-e2e: Use mt-cannon
    
    Introduces a `USE_MT_CANNON` env to optionally enables MT-Cannon in
    op-e2e integration tests
    
    * a couple of fixes
    
    * fix todo
    Inphi authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d5957fa View commit details
    Browse the repository at this point in the history
  7. op-program: Inject prefetcher instead of setting code in config (ethe…

    …reum-optimism#11902)
    
    * op-program: Support injecting a Prefetcher creator rather than setting code on the Config object.
    
    * op-program: Use an interface for the Prefetcher instead of requiring a concrete type.
    ajsutton authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0b20d8e View commit details
    Browse the repository at this point in the history
  8. feat: op-program actor test API improvements (ethereum-optimism#11903)

    * feat: `op-program` actor test API improvements
    
    * lint
    
    * sort fix
    
    * rebase
    clabby authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8b61225 View commit details
    Browse the repository at this point in the history
  9. op-program: Record the kv format used. (ethereum-optimism#11900)

    Automatically use the correct format if it has been recorded.
    
    Change the default format to directory. Compatibility with op-challenger is preserved because it now uses the automatic format detection, defaulting to file if not specified (e.g for kona-host).
    ajsutton authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d432185 View commit details
    Browse the repository at this point in the history
  10. feat: Scaffolding for DeployAuthSystemInput (ethereum-optimism#11889)

    * feat: Scaffolding for DeployAuthSystemInput
    
    * fix: Remove undefined import
    
    * feat: Address feedback
    maurelian authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3ba35fa View commit details
    Browse the repository at this point in the history
  11. interop: interopgen v2 using OPSM (ethereum-optimism#11702)

    * op-chain-ops/interopgen: OPSM powered interop genesis
    
    * ci: make forge scripts available to op-e2e
    
    * op-chain-ops: address interopgen review comments
    protolambda authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3056348 View commit details
    Browse the repository at this point in the history
  12. cannon: Handle preimage bounds checks consistently (ethereum-optimism…

    …#11911)
    
    * cannon: Handle preimage bounds checks consistently
    
    * cannon: Cleanup stray comment
    mbaxter authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c8d6dbb View commit details
    Browse the repository at this point in the history
  13. feat: Scaffolding for DeployAuthSystemInput (ethereum-optimism#11890)

    * feat: Scaffolding for DeployAuthSystemInput
    
    * feat: Scaffolding for DeployAuthSystem Output
    
    * feat: Address feedback and remove comments
    maurelian authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f70248a View commit details
    Browse the repository at this point in the history
  14. Interop: SuperSystem for E2E Tests (ethereum-optimism#11850)

    * op-e2e: interop test setup (work in progress)
    
    * op-e2e: interop test setup
    
    * organization and comment updates
    
    * refactor creation code into WIP system2
    
    * save secrets per L2
    
    * Add SuperSystem Interface ; Add Users and Transactions
    
    * Further Refactoring ; Fix Test
    
    * Add Supervisor
    
    * Add Supervisor Client
    
    * Comment out Proposer
    
    * Add AddL2RPC to Supervisor Client
    
    * Fully link Supervisor and OP Node in E2E Test
    
    * correct RPC call supervisor_checkBlock
    
    * Make EOF acceptable for backend check
    
    * final structure names
    
    * Change unused functions to _ for linter
    
    * fix import order
    
    * Add Github Issue Numbers to TODOs
    
    * tynes comments: add World Resource as configurable
    
    ---------
    
    Co-authored-by: protolambda <[email protected]>
    axelKingsley and protolambda authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    5e14a61 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. feat: Front OPSM with Proxy and Initialize (ethereum-optimism#11875)

    * fix: getting stack underflow error.
    
    * feat: adding proxy infront of OPStackManager.
    
    * fix: PR comments, we're landing on using the initialize function over setRelease.
    
    * fix: rename function.
    
    * fix: nit
    
    * fix: infering proxy admin from superchain config.
    
    * fix: ran command: just pre-pr-no-build
    
    * fix: nits
    
    * fix: using CommonBase in DeployImplementations.s.sol.
    
    * op-chain-ops: pass superchain proxy admin address as input to deployments script
    
    ---------
    
    Co-authored-by: Matt Solomon <[email protected]>
    Co-authored-by: protolambda <[email protected]>
    3 people authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    6cf35da View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. fix: Additional DeployImplementations.s.sol tests (ethereum-optimism#…

    …11914)
    
    * fix: Additional testing for inferring proxy admin from superchain config.
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Matt Solomon <[email protected]>
    blmalone and mds1 authored Sep 15, 2024
    Configuration menu
    Copy the full SHA
    8341f34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92ed64e View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. op-e2e: Separate helpers for proofs action tests into a new package (e…

    …thereum-optimism#11920)
    
    * op-e2e: Move action test helpers for proofs to a separate package.
    
    * op-e2e: Use helpers package under proofs rather than a completely separate package tree for helpers.
    ajsutton authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    ac443ef View commit details
    Browse the repository at this point in the history
  2. cannon: Implement thread-safe ll and sc operations (ethereum-optimism…

    …#11906)
    
    * cannon: Extract RMW op handling from shared logic
    
    * cannon: Add more test cases of LL/SC behavior
    
    * cannon: Cut ll/sc-related logic from common mips code
    
    * cannon: Setup mips helpers to return memory modification info
    
    * cannon: Add new fields to track reserved memory
    
    * cannon: Add a boolean field indicating whether an ll reservation is active
    
    * cannon: Implement ll/sc for MTCannon
    
    * cannon: Add modified sysRead tests for MTCannon
    
    * cannon: Test store operations cleare memory reservations
    
    * cannon: Update SysClockGettime to clear ll memory reservation
    
    * cannon: Fix slither warning - initialize variable
    
    * cannon: Bump MIP2.sol version
    
    * cannon: Run semver, snapshot tasks
    
    * cannon: Cut unused log msg
    
    * cannon: Add new error to MIPS interfaces
    
    * cannon: Cut stale TODO
    mbaxter authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    4af1fe6 View commit details
    Browse the repository at this point in the history
  3. Add integration test for apply (ethereum-optimism#11910)

    * Add integration test for apply
    
    Adds an integration test for OP Deployer's `apply` method. This test uses Kurtosis to spin up an in-memory L1, deploy the contracts using OP Deployer, then asserts that there is code at all reported addresses.
    
    * Review updates
    mslipper authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    db10999 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7efa4e7 View commit details
    Browse the repository at this point in the history
  5. feat: add SuperchainERC20 baseline (ethereum-optimism#11675)

    * feat: add superchain erc20 baseline (#37)
    
    * feat: add superchain erc20 baseline
    
    * feat: make superchain ERC20 simpler
    
    * fix: small version fix and tests
    
    * test: fix test name
    
    * test: remove unused import
    
    * feat: making baseline abstract
    
    * fix: interfaces to comply with the new interface checker
    
    * fix: import paths and empty line
    
    * fix: lint line
    
    ---------
    
    Co-authored-by: 0xng <[email protected]>
    Co-authored-by: 0xng <[email protected]>
    3 people authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    9968aa3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d92c98 View commit details
    Browse the repository at this point in the history
  7. Port deployers, add end-to-end contract deployments (ethereum-optimis…

    …m#11922)
    
    This PR ports over the deployers in `interopgen` into `op-deployer`, and updates `op-deployer` to support end-to end contract deployments for both the Superchain and individual OP Chains.
    
    This PR includes a couple of bugfixes for things I discovered along the way:
    
    1. The script host is updated to bump the nonce of the address calling the CREATE2 deployer when broadcasting. This fixes a chain/simulation mismatch that blocked contracts from being deployed.
    2. The DeployImplementations contract used a fixed CREATE2 salt, which caused problems on repeated deployments. I updated the contract to pull the nonce from the environment as we do elsewhere.
    
    Builds on ethereum-optimism#11910.
    mslipper authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    717330e View commit details
    Browse the repository at this point in the history
  8. cannon: Handle unaligned futex addresses (ethereum-optimism#11929)

    * cannon: Update tests for futex unaligned memory behavior
    
    * cannon: Align futex-related addresses when they are set
    
    * cannon: Run lint and semver tasks
    
    * cannon: Add wakeup traversal tests with unaligend addresses
    
    * cannon: Don't panic if ThreadState.FutexAddr is unaligned
    
    * cannon: Run semver lock task
    
    * cannon: Cleanup stray whitespace
    mbaxter authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    95765df View commit details
    Browse the repository at this point in the history
  9. Add Logging ; Fix Broken Maintenance Context (ethereum-optimism#11931)

    * Add Logging ; Fix Broken Maintenance Context
    
    * Remove unneeded timing ; use Testlogger
    axelKingsley authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    d4467a1 View commit details
    Browse the repository at this point in the history
  10. feat(op-e2e): Expose L1Replica + L2Engine + BlobsStore endpoints (

    ethereum-optimism#11926)
    
    * feat(op-e2e): Expose `L1Replica` + `L2Engine` + `BlobsStore` endpoints
    
    * mutex
    
    * deterministic blob indexing
    
    * proto review
    
    * lint
    clabby authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    8dd6fb3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    21375b4 View commit details
    Browse the repository at this point in the history
  12. op-e2e: Fix compile error (ethereum-optimism#11933)

    * op-e2e: Fix compile error
    
    * ci: Make go-lint a dependency of bedrock-go-tests to prevent merging if it fails.
    ajsutton authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    66bfe67 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. op-e2e: Separate actions tests into different packages (ethereum-opti…

    …mism#11921)
    
    * op-e2e: Move most action tests into a package based on what they test
    
    * op-e2e: Move batch_queue_test.go to derivation package
    
    * op-e2e: Move eip4844_test.go to batcher package
    
    * op-e2e: Move actions helper code to helpers package
    
    * update makefile
    
    * op-e2e: Fix typo
    
    ---------
    
    Co-authored-by: clabby <[email protected]>
    ajsutton and clabby authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    994f634 View commit details
    Browse the repository at this point in the history
  2. feat(op-e2e): Kona FPP actions test adapter (ethereum-optimism#11936)

    * feat(op-e2e): Kona FPP actions test adapter
    
    * rebase
    
    * lint
    
    * review
    
    * fix result check
    clabby authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    4e2fdf3 View commit details
    Browse the repository at this point in the history
  3. op-e2e: Organize e2e system tests in subdirs (ethereum-optimism#11939)

    * op-e2e: organize system tests
    
    * op-e2e: update CI make targets
    
    * op-e2e: fix artifacts file paths
    
    * op-e2e: Fix paths.
    
    * op-e2e: Fix paths again
    
    ---------
    
    Co-authored-by: Adrian Sutton <[email protected]>
    protolambda and ajsutton authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c72a75e View commit details
    Browse the repository at this point in the history
  4. OPSM: miscellaneous fixes and improvements (ethereum-optimism#11935)

    * chore: fix comment
    
    * feat: add assertions
    
    * fix: use method instead of new
    
    * refactor: make salt into an input
    
    * refactor: unify checkOutput function signatures
    
    * chore: update snapshots
    
    * test: fix testContractAuth
    
    * test: fix checkOutput signatures
    
    * fix: update go DeployImplementationsInput struct with salt
    
    * pr feedback
    
    * chore: semver lock
    mds1 authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    45b4b1f View commit details
    Browse the repository at this point in the history
  5. Disable go patches for cannon MT (ethereum-optimism#11937)

    * Disable go patches for cannon MT.
    
    Fix the prestate file list for devnet to use the binary cannon MT prestates.
    
    * Update Makefile
    
    ---------
    
    Co-authored-by: Inphi <[email protected]>
    ajsutton and Inphi authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3b4fcc5 View commit details
    Browse the repository at this point in the history
  6. feat: Scaffolding for DeployAuthSystem Script (ethereum-optimism#11908)

    * feat: Scaffolding for DeployAuthSystem Script
    
    * feat: Remove redundant documentation
    
    * Update DeployAuthSystem.s.sol
    maurelian authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    4490fa8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e7758b2 View commit details
    Browse the repository at this point in the history
  8. feat: Rewrite FP contract distinctions as table (ethereum-optimism#11940

    )
    
    * feat: Rewrite FP contract distinctions as table
    
    * feat: clarify handling of non-MCP contracts
    
    * feat: Update pending mcp statuses
    maurelian authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    152c94d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1a4c020 View commit details
    Browse the repository at this point in the history
  10. maint: move WETH contract to correct folders (ethereum-optimism#11870)

    Moves WETH98 over to the universal/ folder where it belongs and
    brings DelayedWETH up to the top of the dispute folder since there
    is no longer any need for a weth/ subfolder.
    smartcontracts authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    418fb5e View commit details
    Browse the repository at this point in the history
  11. dependabot(gomod): bump github.com/prometheus/client_golang (ethereum…

    …-optimism#11946)
    
    Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.3 to 1.20.4.
    - [Release notes](https://github.com/prometheus/client_golang/releases)
    - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
    - [Commits](prometheus/client_golang@v1.20.3...v1.20.4)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/client_golang
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f78ed7b View commit details
    Browse the repository at this point in the history
  12. Add L2 genesis generation support to op-deployer (ethereum-optimism…

    …#11938)
    
    Adds support for generating L2 genesis files to `op-deployer. The L2 initialization config is generated by merging in overrides as specified in the intent into a default config with sane values. The outputted genesis file is stored in the stage as a GZIP-compressed, base64-encoded string.
    mslipper authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    110a31d View commit details
    Browse the repository at this point in the history
  13. OPSM: DeployOPChain assertions (ethereum-optimism#11943)

    * chore: add BaseDeployIO for the deploy input and output contracts
    
    * test: add assertions to DeployOPChain
    
    * chore: semver lock
    
    * pr feedback
    mds1 authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    290dde2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8312d61 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    668c3fb View commit details
    Browse the repository at this point in the history
  16. feat: Add ASR proxy to OPStackManager (ethereum-optimism#11952)

    * feat: Add ASR proxy to OPStackManager
    
    * feat: Add AnchorStateRegistry blueprint
    maurelian authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9179225 View commit details
    Browse the repository at this point in the history
  17. ci: run slow Cannon test once per day (ethereum-optimism#11947)

    Updates CI to run the (very) slow Cannon go-lint-and-test suite
    once per day instead of running it on merge since it adds at least
    5 minutes to CI.
    smartcontracts authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    a7fac3b View commit details
    Browse the repository at this point in the history
  18. fix: move IERC20Solady into vendor folder (ethereum-optimism#11945)

    An additional "dependency" folder was added in a recent PR, this
    is the same purpose as the "vendor" folder so the interface added
    in that PR can simply be moved to the "vendor" folder instead.
    smartcontracts authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e15f684 View commit details
    Browse the repository at this point in the history
  19. ci: bump semgrep-scan to xlarge (ethereum-optimism#11948)

    We're still having resource issues with a large image. Going to
    bump this to xlarge to see if that will fix it.
    smartcontracts authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    518b050 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. test: invariant tests for OptimismSuperchainERC20 (ethereum-optimism#…

    …11776)
    
    * chore: configure medusa with basic supERC20 self-bridging (#19)
    
    - used --foundry-compile-all to ensure the test contract under
      `test/properties` is compiled (otherwise it is not compiled and medusa
      crashes when it can't find it's compiled representation)
    - set src,test,script to test/properties/medusa to not waste time
      compiling contracts that are not required for the medusa campaign
    - used an atomic bridge, which doesnt allow for testing of several of
      the proposed invariants
    
    fix: delete dead code
    test: give the fuzzer a head start
    docs: fix properties order
    test: document & implement assertions 22, 23  and 24
    fix: fixes from self-review
    test: guide the fuzzer a little bit less
      previously: initial mint, bound on transfer amount: 146625 calls in 200s
      now: no initial mint, no bound on transfer amount: 176835 calls in 200s
      it doesn't seem to slow the fuzzer down
    fix: fixes after lovely feedback by disco
    docs: merge both documents and categorized properties by their milestone
    fix: fixes from parti's review
    fix: feedback from disco
    fix: feedback from doc
    refactor: separate state transitions from pure properties
    docs: update tested properties
    refactor: move all assertions into properties contract
    fix: move function without assertions back into handler
    test: only use assertion mode
    fix: improve justfile recipie for medusa
    
    * feat: halmos symbolic tests (#21)
    
    * feat: introduce OptimismSuperchainERC20
    
    * fix: contract fixes
    
    * feat: add snapshots and semver
    
    * test: add supports interface tests
    
    * test: add invariant test
    
    * feat: add parameters to the RelayERC20 event
    
    * fix: typo
    
    * fix: from param description
    
    * fix: event signature and interface pragma
    
    * feat: add initializer
    
    * feat: use unstructured storage and OZ v5
    
    * feat: update superchain erc20 interfaces
    
    * fix: adapt storage to ERC7201
    
    * test: add initializable OZ v5 test
    
    * fix: invariant docs
    
    * fix: ERC165 implementation
    
    * test: improve superc20 invariant (#11)
    
    * fix: gas snapshot
    
    * chore: configure medusa with basic supERC20 self-bridging
    
    - used --foundry-compile-all to ensure the test contract under
      `test/properties` is compiled (otherwise it is not compiled and medusa
      crashes when it can't find it's compiled representation)
    - set src,test,script to test/properties/medusa to not waste time
      compiling contracts that are not required for the medusa campaign
    - used an atomic bridge, which doesnt allow for testing of several of
      the proposed invariants
    
    * fix: delete dead code
    
    * test: give the fuzzer a head start
    
    * feat: create suite for sybolic tests with halmos
    
    * test: setup and 3 properties with symbolic tests
    
    * chore: remove todo comment
    
    * docs: fix properties order
    
    * test: document & implement assertions 22, 23  and 24
    
    * fix: fixes from self-review
    
    * test: guide the fuzzer a little bit less
    
    previously: initial mint, bound on transfer amount: 146625 calls in 200s
    now: no initial mint, no bound on transfer amount: 176835 calls in 200s
    
    it doesn't seem to slow the fuzzer down
    
    * feat: add property for burn
    
    * refactor: remove symbolic address on mint property
    
    * refactor: order the tests based on the property id
    
    * feat: checkpoint
    
    * chore: set xdomain sender on failing test
    
    * chore: enhance mocks
    
    * Revert "Merge branch 'chore/setup-medusa' into feat/halmos-symbolic-tests"
    
    This reverts commit 945d6b6, reversing
    changes made to 5dcb3a8.
    
    * refactor: remove symbolic addresses to make all of the test work
    
    * chore: remove console logs
    
    * feat: add properties file
    
    * chore: polish
    
    * refactor: enhance test on property 7 using direct try catch (now works)
    
    * fix: review comments
    
    * refactor: add symbolic addresses on test functions
    
    * feat: create halmos toml
    
    * chore: polish test contract and mock
    
    * chore: update property
    
    * refactor: move symbolic folder into properties one
    
    * feat: create advanced tests helper contract
    
    * refactor: enhance tests using symbolic addresses instead of concrete ones
    
    * chore: remove 0 property natspec
    
    * feat: add halmos profile and just script
    
    * chore: rename symbolic folder to halmos
    
    * feat: add halmos commands to justfile
    
    * chore: reorder assertions on one test
    
    * refactor: complete test property seven
    
    * chore: mark properties as completed
    
    * chore: add halmos-cheatcodes dependency
    
    * chore: rename advancedtest->halmosbase
    
    * chore: minimize mocked messenger
    
    * chore: delete empty halmos file
    
    * chore: revert changes to medusa.json
    
    * docs: update changes to PROPERTIES.md from base branch
    
    * test: sendERC20 destination fix
    
    * chore: natspec fixes
    
    ---------
    
    Co-authored-by: agusduha <[email protected]>
    Co-authored-by: 0xng <[email protected]>
    Co-authored-by: teddy <[email protected]>
    
    * test: remaining protocol properties (#26)
    
    * test: cross-user fuzzed bridges + actor setup
    
    * test: fuzz properties 8 and 9
    
    * test: properties 7 and 25
    
    * fix: implement doc's feedback
    
    * test: superc20 tob properties (#27)
    
    * chore: add crytic/properties dependency
    
    * test: extend protocol properties so it also covers ToB erc20 properties
    
    * chore: small linter fixes
    
    * docs: update property list
    
    * test: handlers for remaining superc20 state transitions
    
    * fix: disable ToB properties we are not using and guide the fuzzer a bit more
    
    * fix: disable another ToB property not implemented by solady
    
    * chore: remove zero-initializations
    
    * fix: feedback from disco
    
    * chore: separate fuzz campaign tests in guided vs unguided
    
    * test: dont revert on successful unguided relay
    
    * test: add fuzzed calls to burn and mint
    
    * docs: document the separation of fuzz test functions
    
    * chore: move the properties file to its own directory
    
    * chore: consistently use fuzz_ and property_ + camelcase
    
    * chore: fix typo
    
    * chore: camelcase for handlers as well
    
    * fix: revert change that broke halmos campaign compile :D
    
    * test: fuzz non atomic bridging (#31)
    
    * test: changed mocked messenger ABI for message sending but kept assertions the same
    
    * docs: add new properties 26&27
    
    * test: queue cross-chain messages and test related properties
    
    * test: relay random messages from queue and check associated invariants
    
    * chore: rename bridge->senderc20 method for consistency with relayerc20
    
    * test: not-yet-deployed supertokens can get funds sent to them
    
    * chore: medusa runs forever by default
    
    doable since it also handles SIGINTs gracefully
    
    * chore: document the reason behind relay zero and send zero inconsistencies
    
    * fix: feedback from doc
    
    * fix: walk around possible medusa issue
    
    I'm getting an 'unknown opcode 0x4e' in ProtocolAtomic constructor when
    calling the MockL2ToL2CrossDomainMessenger for the first time
    
    * test: unguided handler for sendERC20
    
    * fix: feedback from disco
    
    * chore: remove halmos testsuite
    
    * chore: foundry migration (#40)
    
    * chore: track assertion failures
    
    this is so foundry's invariant contract can check that an assertion
    returned false in the handler, while still allowing `fail_on_revert =
    false` so we can still take full advantage of medusa's fuzzer & coverage
    reports
    
    * fix: explicitly skip duplicate supertoken deployments
    
    * chore: remove duplicated PROPERTIES.md file
    
    * chore: expose data to foundry's external invariant checker
    
    * test: run medusa fuzzing campaign from within foundry
    
    * fix: eagerly check for duplicate deployments
    
    * fix: feedback from doc
    
    * chore: shoehorn medusa campaign into foundry dir structure
    
    * chore: remove PROPERTIES.md file
    
    * chore: delete medusa config
    
    * docs: limited support for subdirectories in test/invariant
    
    * chore: rename contracts to be more sneaky about medusa
    
    * docs: rewrite invariant docs in a way compliant with autogen scripts
    
    * chore: fixes from rebase
    
    * fix: cleanup superc20 invariants (#46)
    
    * chore: revert modifications from medusa campaign
    
    * docs: extra docs on why ForTest contract is required
    
    * doc: add list of all supertoken properties
    
    * chore: run forge fmt
    
    * ci: allow for testfiles to be deleted
    
    * fix: run doc autogen script after rebase
    
    ---------
    
    Co-authored-by: Disco <[email protected]>
    Co-authored-by: agusduha <[email protected]>
    Co-authored-by: 0xng <[email protected]>
    4 people authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    9de48fc View commit details
    Browse the repository at this point in the history
  2. ci: job to check contracts build warnings (ethereum-optimism#11962)

    Adds a new compiler job to check for contract build warnings.
    Other existing build jobs don't compile the entire set of contracts
    and we do want to be able to check for warnings across the board.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c186b48 View commit details
    Browse the repository at this point in the history
  3. ci: simplify contract build job inputs (ethereum-optimism#11965)

    Simplifies the inputs to contracts-bedrock-build so that it
    takes a single skip_pattern command instead of allowing the user
    to specify any build command.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    86a74bc View commit details
    Browse the repository at this point in the history
  4. ci: clean up golang job definitions (ethereum-optimism#11967)

    Cleans up a number of golang job definitions. One PR for now
    just so I can see this all work.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    ab24015 View commit details
    Browse the repository at this point in the history
  5. ci: fix config error in cannon tests (ethereum-optimism#11969)

    Fixes a configuration error in the scheduled-cannon-full-tests
    job.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b6e9a61 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c40dfed View commit details
    Browse the repository at this point in the history
  7. ci: simplify contracts bedrock tests job (ethereum-optimism#11966)

    Simplifies the contracts-bedrock-tests job so that it takes more
    parameters but makes the test command unified. Also replaces the
    complex script for checking for modified fuzz tests and simply
    heavily fuzzes all tests within any test files that have changed.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7a10c31 View commit details
    Browse the repository at this point in the history
  8. ci: misc cleanups and simplifications (ethereum-optimism#11968)

    Cleanups in a few places, removing unused jobs, etc.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    d9fe07c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    924896b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    68b5239 View commit details
    Browse the repository at this point in the history
  11. fix: multiple fuzz flakes (ethereum-optimism#11981)

    Fixes a couple of fuzz flakes that were found when fuzzing
    heavily.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    ae37e02 View commit details
    Browse the repository at this point in the history
  12. maint: add interfaces for L2 bridge/messaging contracts (ethereum-opt…

    …imism#11859)
    
    First PR for adding interfaces for L2 contracts. Adds interfaces
    for all of the bridging and message passing contracts.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7db0f6a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c18ec26 View commit details
    Browse the repository at this point in the history
  14. fix(ci): semgrep cli breaking change (ethereum-optimism#11985)

    Semgrep CLI tool recently removed the --time option which caused
    CI to suddenly break.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    606e023 View commit details
    Browse the repository at this point in the history
  15. ci: correct perms for tag-service.yml (ethereum-optimism#11961)

    GITHUB_TOKEN no longer gets write access by default so it needs to
    be provided with write access explicitly.
    smartcontracts authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5fe7df2 View commit details
    Browse the repository at this point in the history
  16. Add inspection commands, fix deployer bugs (ethereum-optimism#11964)

    Adds `op-deployer inspection *` commands to expose the generated genesis and rollup configs via the CLI or Golang libraries. Also fixes a bug in deployment - I accidentally deleted the code that set the deployer nonce, so live chain deployments were reverting.
    mslipper authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    213f762 View commit details
    Browse the repository at this point in the history
  17. refactor: Rename OPSM to OPSMProxy for clarity (ethereum-optimism#11972)

    * chore(rename): Rename opsm to opsmProxy
    
    * fix: Go bindings updated for proxy.
    
    * fix: linting
    
    * fix: pr comment nits.
    blmalone authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    eba495d View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. feat(op-e2e): Open channel closed after sequence window expiry test (e…

    …thereum-optimism#11993)
    
    * feat(op-e2e): Open channel closed after sequence window expiry test
    
    Adds a test to the proof actions that proves a block at the safe head
    after the batcher has opened a channel, allowed the sequence window to
    expire, and then attempted to close their open channel after the fact.
    
    * buffer frame
    
    * include extra tx
    clabby authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    bd97c32 View commit details
    Browse the repository at this point in the history
  2. feat(op-e2e): Channel timeout late submission test (ethereum-optimism…

    …#11995)
    
    * feat(op-e2e): Channel timeout late submission test
    
    * remove finalization of l1 chain
    clabby authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    e2a19f4 View commit details
    Browse the repository at this point in the history
  3. ci: separate invariant runs from fuzz runs (ethereum-optimism#11982)

    Using 10k invariant runs would be ridiculously slow.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    c9a4a7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ab6738 View commit details
    Browse the repository at this point in the history
  5. maint(ci): clean up release job (ethereum-optimism#11996)

    Cleans up the release job by turning it into a matrix.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    d4b1003 View commit details
    Browse the repository at this point in the history
  6. maint(ci): clean up scheduled docker publish (ethereum-optimism#11999)

    Same idea again, cleaning up the scheduled docker publish with the
    same technique as the previous PR.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    a080bd2 View commit details
    Browse the repository at this point in the history
  7. OPSM: More assertions (ethereum-optimism#11994)

    * refactor: rename var for clarity
    
    * test: add more assertions from ChainAssertions, and some new ones
    
    * chore: ensure unique, clear, consistent revert string IDs
    
    also sorts methods alphabetically for clarity
    
    * fix: var name after rebase
    
    * style: forge fmt
    
    * revert proxyAdmin -> superchainProxyAdmin name change for now
    
    * Update packages/contracts-bedrock/scripts/DeployImplementations.s.sol
    
    Co-authored-by: Maurelian <[email protected]>
    
    * chore: small tweaks from pr feedback
    
    ---------
    
    Co-authored-by: Maurelian <[email protected]>
    mds1 and maurelian authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    57f9fbf View commit details
    Browse the repository at this point in the history
  8. op-challenger: Support MT-Cannon in run-trace (ethereum-optimism#11934)

    * op-challenger: Support MT-Cannon in run-trace
    
    * ..
    
    * fix multi_test.go
    
    * annotate metrics with mt-cannon
    
    * preserve prestate encoding; use separate dir for mt-cannon
    
    * Update op-challenger/cmd/run_trace.go
    
    Co-authored-by: Adrian Sutton <[email protected]>
    
    ---------
    
    Co-authored-by: Adrian Sutton <[email protected]>
    Inphi and ajsutton authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4b8d23e View commit details
    Browse the repository at this point in the history
  9. feat: add remaining L2 interfaces (ethereum-optimism#11984)

    One more PR for adding L2 interfaces.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    2afa7a4 View commit details
    Browse the repository at this point in the history
  10. feat: clean up TODOs and add CI check (ethereum-optimism#12005)

    * maint: clean up TODO tags
    
    Cleans up existing TODO tags, particularly those that referenced
    old Linear issues. Updates the todo-checker script to allow
    <#issue> as well as <issue>.
    
    * feat(ci): add todo-issues check to main CI
    
    Updates the main CI workflow to run the todo-issues check. For
    now this check will ignore any bare TODOs. We can update the
    script later to reject bare TODOs.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ff338bc View commit details
    Browse the repository at this point in the history
  11. contracts: Add more MIPS2 tests (ethereum-optimism#12003)

    * contracts: Add more MIPS2 tests
    
    * remove unused var
    Inphi authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4806d83 View commit details
    Browse the repository at this point in the history
  12. cannon: Clean up fuzz test todos (ethereum-optimism#12009)

    * cannon: Add memory assertions to FuzzStatePreimageRead
    
    * cannon: Rework hint write fuzz test to assert hint expectations
    
    * cannon: Update FuzzStatePreimageWrite to assert on expected preimageKey
    
    * cannon: Remove validation skipping logic from test util
    
    * cannon: Cleanup - simplify code
    
    * cannon: Cleanup - dedupe code
    mbaxter authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    29dd98b View commit details
    Browse the repository at this point in the history
  13. cannon: Clean up program patching (ethereum-optimism#11944)

    * cannon: Cut todo, reorganize syscalls
    
    * cannon: Rename patchGo to patchGoGC, add comments, cut TODO
    
    * cannon: Only allow gc patching for single-threaded Cannon
    
    * cannon: Cut patch flag from load-elf command altogether
    mbaxter authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    08a4369 View commit details
    Browse the repository at this point in the history
  14. feat(ci): check contract semver matches natspec (ethereum-optimism#11992

    )
    
    Adds a new check to CI that verifies that the semver string
    defined in the contract matches the string defined in natspec.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7105bad View commit details
    Browse the repository at this point in the history
  15. maint(ct): link to external mermaid diagrams in specs (ethereum-optim…

    …ism#12012)
    
    Updates the contracts README to use the mermaid diagrams in specs
    to avoid duplicated documentation.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    a1f912a View commit details
    Browse the repository at this point in the history
  16. op-program: Reproducible MT-Cannon prestate (ethereum-optimism#12011)

    * op-program: Reproducible MT-Cannon prestate
    
    * fix mt-cannon proof gen
    Inphi authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    54ae1e4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cea1f94 View commit details
    Browse the repository at this point in the history
  18. maint(ci): remove autogenerated invariant docs (ethereum-optimism#11988)

    Removes autogenerated invariant docs from the contracts package.
    These autogenerated docs create confusion about where invariants
    should be defined (the answer is in the specs) and no one actually
    looks at them anyway. Just adds an additional step into CI for
    minimal benefit.
    smartcontracts authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    45a266e View commit details
    Browse the repository at this point in the history
  19. vm-runner: User-provided mt-cannon absolute prestate URL (ethereum-op…

    …timism#12016)
    
    * vm-runner: User-provided mt-cannon absolute prestate URL
    
    * placate semgrep
    Inphi authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    43ec97d View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. maint: fix dispute interfaces (ethereum-optimism#12010)

    Fixes the existing dispute interfaces and makes them match the
    same style that we're using for all other interfaces.
    smartcontracts authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    eaf4d3e View commit details
    Browse the repository at this point in the history
  2. op-challenger: Use a wrapper to specify the vm type for metrics (ethe…

    …reum-optimism#12020)
    
    * op-challenger: Use a wrapper to specify the vm type for metrics
    
    Decouples the vm type from the trace type to give the run-trace subcommand more flexibility, allowing it to report separate metrics for cannon and mt-cannon.
    
    Also adjust the run-trace loggers to consistently use `mt-cannon` as the type.
    
    * Use constant.
    
    Co-authored-by: Inphi <[email protected]>
    
    ---------
    
    Co-authored-by: Inphi <[email protected]>
    ajsutton and Inphi authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    3c3a311 View commit details
    Browse the repository at this point in the history
  3. SuperSystem: Add Emitter Contract - Basic Message Passing (ethereum-o…

    …ptimism#11956)
    
    * Add Emitter Contract
    
    * Emitter Contract and Bindings
    
    * AddL2RPC without Stopping
    
    * Rename testdata folder to contracts
    
    * update generate.sh
    
    * update solidity and gen script
    axelKingsley authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    2fcbe4b View commit details
    Browse the repository at this point in the history
  4. Update kurtosis library. (ethereum-optimism#12025)

    CI is automatically using the latest version which has broken things. Update to match as a temporary fix until we can install a fixed version in CI.
    ajsutton authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    bdca797 View commit details
    Browse the repository at this point in the history
  5. proof-tools: Bump op-challenger version (ethereum-optimism#12017)

    * proof-tools: Bump op-challenger version
    
    * optimistic version bump
    
    * update op-challenger version
    Inphi authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4461d73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fbf69c9 View commit details
    Browse the repository at this point in the history
  7. refactor: Remove file I/O from deployment scripts (ethereum-optimism#…

    …12015)
    
    * fix: Removing all file I/O features
    
    * fix: comments in code.
    
    * fix: pr comment
    blmalone authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    af357f1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bd50ac6 View commit details
    Browse the repository at this point in the history
  9. maint(ct): clean up justfile (ethereum-optimism#12024)

    That was one ugly file.
    smartcontracts authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    9936803 View commit details
    Browse the repository at this point in the history
  10. feat(ct): add constructors to interfaces (ethereum-optimism#12028)

    * feat(ct): add constructors to interfaces
    
    Adds a pseudo-constructor function called __constructor__ that
    will be verified as part of the interface. This pseudo-function
    is useful when we want to be able to maintain type safety
    in the deploy script where we use vm.getCode.
    
    * add a pseudo-constructor for all remaining contracts with constructors
    
    * fix warning
    
    * update check-interface.sh comment
    
    ---------
    
    Co-authored-by: Michael Amadi <[email protected]>
    smartcontracts and AmadiMichael authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    53d9522 View commit details
    Browse the repository at this point in the history
  11. op-supervisor: store block-checkpoints per block, implement block ite…

    …ration (ethereum-optimism#11989)
    
    * op-supervisor: register each L2 block, refactor
    
    Signed-off-by: protolambda <[email protected]>
    
    * op-supervisor: fix lint and tests
    
    * op-supervisor: minor fixes, logging
    
    * op-supervisor: fix semgrep
    
    ---------
    
    Signed-off-by: protolambda <[email protected]>
    protolambda authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    0543bf7 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Add builds for op-deployer, bugfixes, artifacts downloads (ethereum-o…

    …ptimism#12033)
    
    * Add builds for op-deployer, bugfixes, artifacts downloads
    
    Adds Docker builds for op-deployer, makes some bugfixes, and adds support for downloading remote artifacts.
    
    * Apply code scanning fix for arbitrary file access during archive extraction ("zip slip")
    
    Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
    
    * fix compile error
    
    * lint
    
    * fix test
    
    * Update from code review, add docker build
    
    * fix versioning
    
    * remove errant dispatch
    
    * update target
    
    ---------
    
    Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
    mslipper and github-advanced-security[bot] authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    c5007bb View commit details
    Browse the repository at this point in the history
  2. chore(op-e2e): assert that the channel actually timed out (ethereum-o…

    …ptimism#11998)
    
    * assert that the channel actually timed out
    
    * fmt
    clabby authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    dd7f5db View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. feat(op-e2e): Recover from bad transactions in batch test (ethereum-o…

    …ptimism#12039)
    
    * feat(op-e2e): Recover from bad transactions in batch test
    
    * fix
    
    * clean
    
    * naming nit
    clabby authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    53080c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c6bc7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de7f8d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. feat(op-e2e): L1 lookback action tests (ethereum-optimism#12043)

    * feat(op-e2e): L1 lookback action tests
    
    * review
    
    * adrian review
    clabby authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    6c98946 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d348c69 View commit details
    Browse the repository at this point in the history
  3. cannon, op-program: Avoid logging errors during normal shutdown. (eth…

    …ereum-optimism#12051)
    
    Previously op-program host and cannon both logged an error message that the pre-image server couldn't be stopped after it stopped successfully.
    ajsutton authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    05c0421 View commit details
    Browse the repository at this point in the history
  4. op-challenger: Fix run-trace to only run mt-cannon in parallel with c…

    …annon traces. (ethereum-optimism#12052)
    
    Previously it was also running it in parallel with kona-asterisc traces, resulting in errors because there were two mt-cannon traces sharing a preimages directory.
    ajsutton authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    7ee6dcc View commit details
    Browse the repository at this point in the history
  5. contract-test: delete outdated structure explanation (ethereum-optimi…

    …sm#12054)
    
    * delete outdated structure
    
    * small fix
    rickck11 authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    90700b9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6933bfe View commit details
    Browse the repository at this point in the history
  7. Add AnchorStateRegistry Implementation to OPSM (ethereum-optimism#11955)

    * feat: Add ASR proxy to OPStackManager
    
    * feat: Add AnchorStateRegistry blueprint
    
    * feat: Add AnchorStateRegistry Implementation
    
    * feat: Return startingAnchorInputs as bytes
    
    The op-deployer tooling does not support structs, therefore we need to
    return a more generic type for compatibility.
    
    * rebuild snapshots
    
    * fix: ASR initializer encoding
    
    * handoff commit with op-deployer debugging
    
    debugging op-deployer test
    wip: literal anchor roots
    
    * test and golang fixes
    
    * hardcode permissioned state
    
    * hardcode 0xdead as the starting anchor root
    
    * chore: fix semver lock
    
    * fix: no permissionless root, remove hash from 0xdead
    
    * fix: use 0xdead root properly
    
    * fix: set the override in the input contract
    
    * Fix tests and accidental mutation of `Implementation` struct
    
    * lint
    
    * semver
    
    * Update op-chain-ops/deployer/opsm/opchain.go
    
    Co-authored-by: Maurelian <[email protected]>
    
    * Update packages/contracts-bedrock/scripts/DeployOPChain.s.sol
    
    ---------
    
    Co-authored-by: Matthew Slipper <[email protected]>
    Co-authored-by: Matt Solomon <[email protected]>
    3 people authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    2f2554a View commit details
    Browse the repository at this point in the history
  8. proofs-tools: Update op-challenger version in proofs-tools. (ethereum…

    …-optimism#12055)
    
    Includes fix to stop running mt-cannon in parallel.
    ajsutton authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d204c1f View commit details
    Browse the repository at this point in the history
  9. fix(ci): do not check closed issues in main job (ethereum-optimism#12066

    )
    
    Updates the todo-checker to not check for closed issues in the
    main job. Will still check for closed issues in the scheduled job.
    Prevents CI from randomly failing when stuff gets closed.
    smartcontracts authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    f86ccc8 View commit details
    Browse the repository at this point in the history
  10. feat: deploy utils cleanup (ethereum-optimism#12027)

    Updates DeployUtils to include new utils for using create and
    create2.
    smartcontracts authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9178d5f View commit details
    Browse the repository at this point in the history
  11. feat(L2ToL2CrossDomainMessenger): add successfulMessages and messageN…

    …once to IL2ToL2CrossDomainMessenger (ethereum-optimism#12068)
    
    * feat(L2ToL2CrossDomainMessenger): add successfulMessages and messageNonce to interface
    
    * lint
    tremarkley authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9a12768 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    718b9b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Merge remote-tracking branch 'origin/develop' into merge_upstream

     Conflicts:
    	go.mod
    	go.sum
    	op-batcher/batcher/driver.go
    	op-chain-ops/genesis/config.go
    	op-chain-ops/genesis/genesis.go
    	op-e2e/actions/l2_verifier.go
    	op-e2e/opgeth/op_geth.go
    	op-e2e/system/e2esys/setup.go
    	op-node/node/config.go
    	op-node/node/node.go
    	op-node/p2p/gossip.go
    	op-node/p2p/node.go
    	op-node/rollup/derive/blob_data_source.go
    	op-node/rollup/derive/blob_data_source_test.go
    	op-node/rollup/derive/calldata_source.go
    	op-node/rollup/derive/engine_queue_test.go
    	op-node/rollup/derive/engine_update.go
    	op-node/rollup/driver/driver.go
    	op-node/rollup/engine/engine_controller.go
    	op-node/rollup/types.go
    	op-node/service.go
    	op-program/client/driver/driver.go
    	op-service/predeploys/addresses.go
    	op-service/txmgr/txmgr.go
    	packages/contracts-bedrock/scripts/L2Genesis.s.sol
    	packages/contracts-bedrock/src/libraries/Predeploys.sol
    	packages/contracts-bedrock/test/Predeploys.t.sol
    blockchaindevsh committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    594d450 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. fix merge

    blockchaindevsh committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    8899640 View commit details
    Browse the repository at this point in the history