- 20 Dec, 2024 7 commits
-
-
Inphi authored
* op-program: Support multiple types of op-program releases * include type in formatted release string
-
zhiqiangxu authored
* show label on fault * also show label for onExit
-
Yann Hodique authored
Our docker builds can be published to the local registry, so kurtosis can access them. We need something similar for contracts bundles for now. We'll bring up a local http server for the duration of the kurtosis command run, which will serve the contracts.
-
Yann Hodique authored
This enables us to parse the input provided to kurtosis for the enclave creation, and retrieve some basic information to organize the dynamic information we'll get from the enclave directly. Namely, the name and network ID for each chain created.
-
Yann Hodique authored
We need a few things: - some convenience functions for expanding user functions - optional data to drive the template - strict expansion (missingkley=error)
-
Matthew Slipper authored
The artifacts for v1.8.0 were generated from the tag `op-contracts-v180-artifacts-base`, which points to `proposal/contracts/v1.8.0` with the non-proxied OPCM backported. The OPCM was deployed using the `opcm bootstrap` command. The PDG blueprints were updated using a custom script which you can find at the `op-contracts-v180-blueprints-script` [tag](https://github.com/ethereum-optimism/optimism/commit/a7091185a787ea104343abafc311d65a5916e4b8). As part of this PR, I also added a bunch of tests to assert that the semver versions of deployed contracts are correct. I'll add similar tests for mainnet once the gov vote passes.
-
Maurelian authored
* feat: Rename Upgrade.s.sol to ForkProd.s.sol The updated name is more descriptive of what the code currently does. It also reflects more accurately the current plan of applying the upgrade outside of this script in a separate one, which may be named `Upgrade.s.sol` and will call `OPCM.upgrade()`. * feat: fix artifcat name * feat: ForkLive instead of ForkProd
-
- 19 Dec, 2024 8 commits
-
-
George Knee authored
* prefer .FillBytes() to .Bytes() and copy The latter can result in an error if the number is less than 32 bytes in length (it gets padded incorrectly). * add tests * output to JSON * add test case for OPM * tidy up * use const in test
-
protolambda authored
* op-service: RPC subscribe interface fix and utils * op-service: fix subscribe args pass through
-
Maurelian authored
* feat: Basic upgrade test scaffolding * Add Superchain Registry * Fork from Registry * feat: allowCheatcodes on setPreinstalls in L2Genesis * feat: Refactory and clean up registry reads * feat: cleanup Upgrade.s.sol * fix: Move strings into function body Upgrade has no constructor * feat: Some cleanup * feat: write optimismPortal2 * feat: Automatically run anvil on 8546 * feat: Add upgrade testing to Ci * fix: use parameter to set UPGRADE_TEST env var * feat: more cleanup * fix: PR feedback * tweak ci * fix: justfile bug * fix: Upgrade syntax errors * add export MAINNET_RPC_URL to ci * debug address in use * feat: Allow cheatcodes for FFIInterface * feat: use EIP1967Helper * feat: improve comments in Setup.sol * feat: add support for interop and optimized test setups - Implemented the ability to use interop in test configurations. - Added checks to skip tests when certain conditions for forked tests are met. - Enhanced Setup with options for overriding L2 genesis and creating forks. - Included additional logging for L1 setup processes. - Enabled etching of deployed upgrade contracts for testing purposes. * feat: Use ETH_RPC_URL as env var name * test fixes for forking * feat: anvil-fork-stop does not error * feat: Do not mess with EVM env on a fork test * feat: Take anvil out of the loop * feat: Don't warp if forked * fix: isForkTest not forkBlock * lint * feat: enforce forking from sepolia or mainnet * fix(ctb): test fixes for a forked env * Revert "feat: Take anvil out of the loop" This reverts commit c70e8d7fd6f65319050b06df4eeb78461a682260. * feat: remove anvil-fork-stop also add helpful comments on just commands * fix: unsilence anvil * fix snapshot and semgrep * temp: slightly faster just-upgrade loop * feat: pin fork block * feat: change upgrade_test to test_upgrade in config.yml for consistency * feat: cache forked state * speculative: skip l2 work * feat: skip benchmark tests if isFork * feat: skip deploying L2 tokens when forking * feat: add skipIfForkTest * feat: limit upgrade testing to L1 contracts * feat: move skipping logic into Setup.sol * feat: Simplify ci config for upgrade tests * gas snapshot * delete ignored deploy artifact * remove unused added vm call * feat: remove modifications to skipped test paths * feat: improve block number handling * feat: Document adding a new contract * fix: ci config syntax error * better justfile comments * feat: skip some tests and log messages when you do * feat: skip SystemConfig tests with incompatible iface * feat: add returnIfForkTest and fix a bunch of tests * feat: more test fixes and tweaks * gas snapshot * feat: Add test-upgrade-rerun to justfile and ci config * feat: Make PINNED_BLOCK_NUMBER be not a magic number * fix: long standing bug unrelated to this work the L1 xDM test was exercising the L2 xDM. Fork testing caught this because it skips deploying L2 contracts. Deploying the L2 contracts to the same network as the L1 contracts was always a bit janky anyways. * feat: PDG: cleaner fork test handling * feat: remove unused import * fix incorrect vm.roll/warp skipping logic * fix: OptimismPortal2 tests * fix gas snapshot * fix: restore test_list to contracts-bedrock-tests job * feat(ci): Split up the test-upgrade CI job * fix(ci): remove erroneous param reference * feat: Improve caching of forked state * feat: use config syntax for inserting rpc url * debug: cache key * feat: Fix cache key checksum * Apply suggestions from code review Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * clarify comment about setup.setup forking * feat: remove diff meant for upstack * fix lint * feat: make isForkTest private and add a getter * debugging with annotations * feat: fix test_findLatestGames_static_succeeds * fix: OptimismPortal2 test_initialize_succeeds Read guardian from chain rather than config * feat: fix returnIfForkTest Properly uses the return opcode to halt the test. * fix: Portal tests for forking * fix: DGF test for forking * fix: Skip CGT tests on L1StandardBridge * fix: Skip CGT tests on L1CrossDomainMessenger * fix DGF testFuzz_create_succeeds * fix: DGF testFuzz_create_sameUUID_reverts * feat: remove debugging annotations * fix: remove left over console * fix: PermissionedDisputeGame tests * fix: remove unused import * fix: test_donateETH_succeeds for fork testing * fix: isForkTest getter call * feat: Temporarily skip UnexpectedRootClaim failures on forked upgrade tests * Revert "feat: remove diff meant for upstack" This reverts commit cab685617fd9db6961debe503f81042575b848f7. * feat: clearer env var name for NO_MATCH_CONTRACTS * fix gas snapshot * fix test_constructor_succeeds tests after disableInit rebase * lint --------- Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Michael Amadi authored
* add script that checks that proxied (non predeploy) contracts call `_disableInitializers` in their constructor * add check that all initialize functions of proxied contracts (not predeploys) have the external and initializer modifiers * add to ctb justfile but not in `just check` yet * fixes * use semgrep instead * ... * fixes * fixes * fixes * fixes * fixes * fix comment on semgrep test * fix semgrep test * rename rule * rename rule * add exception
-
taozui472 authored
-
Inphi authored
* cannon: Fix parentheses in syscall noop handling * cannon: Add cannon64 test case for the undefined syscall path
-
mbaxter authored
* cannon: Update futex-related tests - use 32-bit futex values * cannon: Update go vm implementation - use 32-bit futex values * cannon: Update sol 64-bit vm implementation - use 32-bit futex values * cannon: Update sol 32-bit vm implementation - use 32-bit futex values * cannon: Update MIPS64 version * cannon: Update MIPS2 version * cannon: Run semver lock * cannon: Update semver comments to match actual version * cannon: Run semver-lock * cannon: Randomize futex value in register when testing * cannon: Tweak comment * cannon: Ignore the upper bytes in the futex value register * cannon: Make FutexVal thread field 32-bit * cannon: Run semver-lock * cannon: Fix some inconsistencies, run semver-lock * cannon: Rename testutil method
-
Michael Amadi authored
* use disableInitializers * use disableInitializers * use disableInitializers * use disableInitializers * fixes * assert the values of storage slot of proxies and implementation contracts * fix initialize's visibility * fixes * fixes * fixes * semver bump
-
- 18 Dec, 2024 9 commits
-
-
protolambda authored
-
Yann Hodique authored
* feat(op-deployer): add support for http locator Given that the downloader code already supports it, we might as well offer the capability. This is useful for pointing to local registries during development, without having to worry about SSL. * update locator_test.go http is now supported. ftp can be used for unsupported scheme test.
-
Michael Amadi authored
* find lone words, rm more unused imports, print file path and not file name * fixes
-
Axel Kingsley authored
* fix first-time JWT generation bug * op-service: improve and test JWT secret loading code --------- Co-authored-by:
protolambda <proto@protolambda.com>
-
Vinod Damle authored
* Config: Enable Isthmus * Contracts: Add isthmus * set the isthmus time offset in genesis * rollup.Config implements types.BlockType interface --------- Co-authored-by:
Vinod Damle <5338861+vdamle@users.noreply.github.com>
-
Axel Kingsley authored
-
zhiqiangxu authored
-
Inphi authored
-
Michael Amadi authored
-
- 17 Dec, 2024 7 commits
-
-
Inphi authored
-
Disco authored
* feat: adds return data to L2toL2 relay message * feat: add test for the return data * chore: update interface and run scripts * chore: polish test natspec * fix: declare target instead of fuzzing on test * fix: semgrep * fix: unrelated flake tests adding check over target address * refactor: fuzz the target address again on return data test --------- Co-authored-by:
Skeletor Spaceman <skeletorspaceman@gmail.com> Co-authored-by:
Skeletor Spaceman <92943766+skeletor-spaceman@users.noreply.github.com>
-
Matthew Slipper authored
* op-deployer: Add manage command for interop dependencies You can now run `op-deployer manage dependencies ...` to add/remove remote chains from a local chain's Interop dependency set. * semgrep
-
Vinod Damle authored
* Update op-geth to include changes for withdrawalsRoot * Update invocations of NewBlock() api --------- Co-authored-by:
Vinod Damle <5338861+vdamle@users.noreply.github.com>
-
smartcontracts authored
Introduces the DeputyPauseModule which allows an account to act as the Foundation Safe for the sake of triggering the Superchain-wide pause function. Adding this module to the Foundation Safe would remove the need for any pre-signed pause transactions and generally simplifies the incident response process.
-
Michael Amadi authored
-
mbaxter authored
-
- 16 Dec, 2024 4 commits
-
-
mbaxter authored
-
CrazyFrog authored
* Update README.md * Update justfile * Update readme.md
-
Delweng authored
* op-chain-ops: rename HasAnyDevAccounts to RetrieveDevAccounts Signed-off-by:
jsvisa <delweng@gmail.com> * op-chain-ops: return all dev accounts instead of bool Signed-off-by:
jsvisa <delweng@gmail.com> * Update op-chain-ops/genesis/layer_two.go Co-authored-by:
protolambda <proto@protolambda.com> --------- Signed-off-by:
jsvisa <delweng@gmail.com> Co-authored-by:
protolambda <proto@protolambda.com>
-
protolambda authored
-
- 15 Dec, 2024 1 commit
-
-
Matthew Slipper authored
* op-e2e: Fix anchor roots * use correct prestate * Run FP tests on develop only again
-
- 14 Dec, 2024 4 commits
-
-
Matthew Slipper authored
* op-e2e: Nuke allocs This PR integrates op-deployer with op-e2e for the purposes of generating L1/L2 allocs on-the-fly. As a result, there is no longer any need to run `make devnet-allocs` or otherwise continue maintaining the legacy Python devnet. The generated allocs are at parity with those generated by the Python devnet - i.e., they contain the Alphabet VM, the fast fault game, and the deploy config customizations in `devnetL1.json`. One notable change here is that the ability to generate new allocs files for L2OO chains will no longer be possible post-Holocene. To continue supporting the L2OO tests for the time being, the L2OO allocs files have been archived at the Holocene fork. Cleaning up the old devnet will be handled separately. * fix broken tests * bring back l2oo test * swap more keys * more keys * swap prestates * remove dead code * fix prestate proof * Code review updates * toml fields
-
Michael Amadi authored
* transition interface check script to common framework * fixes * fixes
-
Maurelian authored
* feat: remove dead comment * fix semverlock
-
Paul Dowman authored
This fixes `make verify-reproducibility` due to a sorting bug.
-