- 08 Oct, 2024 12 commits
-
-
Axel Kingsley authored
* op-node,op-supervisor: feed local-unsafe/local-safe/l1-finalized data to supervisor * op-node,op-service,op-e2e: wip, fix interop op-node tests * post-rebase compilation fixes * BlockRef * op-supervisor: fix service test, cleanup todo * op-supervisor: link TODO comments to issue * interop: fix e2e action test --------- Co-authored-by:
protolambda <proto@protolambda.com>
-
George Knee authored
-
Adrian Sutton authored
op-program: Avoid parsing op-sepolia and op-mainnet rollup and chain configs in init() methods (#12307) This was causing op-program to spend cycles parsing the config JSON files to set constants that weren't actually used.
-
smartcontracts authored
Adds semgrep-scan-local to top-level justfile.
-
smartcontracts authored
Adds a new configuration to DeployImplementations so that it knows which MIPS version to deploy.
-
Mark Tyneway authored
It began to error after https://github.com/ethereum-optimism/optimism/pull/12336
-
Blaine Malone authored
* OPCM: DepolyOPChain additional testing checks. * fix: absolute prestate. * fix: adding to assertions. * fix: maxClockDuration check added.
-
smartcontracts authored
Adds MIPSInstructions as an exception to malformed require.
-
smartcontracts authored
Adds the Solidity unused imports check to ci.
-
Paul Dowman authored
-
smartcontracts authored
A few things in this commit: - Adds a new check for unused imports in contracts - Cleans up contracts based on that check - Removes several files that aren't being used anymore
-
smartcontracts authored
Adds sol-style-malformed-revert to local semgrep and fixes the rule so that it actually works. Fixes a couple of findings that the updated rule discovered.
-
- 07 Oct, 2024 5 commits
-
-
Mark Tyneway authored
* contracts-bedrock: fixes `OptimismMintableERC721Factory` test This contract is only used as a predeploy so it should be tested based on the L2 genesis generation setup. Ensures that the address is stored and labeled as part of in memory test setup, as well as updates the tests to work based on the predeploy. This is a small refactor to make future Standard L2 genesis work more simple. Also includes a small ABI fix to the `OptimismMintableERC721Factory` since this contract has not been updated to decouple immutable naming conventions from its ABI. * snapshots: update * checks: fix * lint: fix * typo: fix
-
Mark Tyneway authored
* contracts-bedrock: cleanup `FeeVault` Updates the `FeeVault` to follow modern conventions used in the repo by moving to usage of interfaces rather than implementations. Also moves the `FeeVault` into the `L2` package as its only really useful on L2. This is meant to reduce the diff for the Stanard L2 Genesis by breaking up the refactor into its own small PR. * contracts: update semver-lock * semver-lock: fixup * cleanup: refactor * lint: fix * snapshots: regenerate * interface check: ignore fee vaults There is an issue with normalization of enums when they are return values
-
smartcontracts authored
Adds sol-style-malformed-require to local semgrep and actually fixes the rule so that it works. Fixes a couple of findings that the rule found.
-
George Knee authored
-
Michael de Hoog authored
-
- 06 Oct, 2024 4 commits
-
-
smartcontracts authored
Updates contracts-bedrock-tests to use foundry profiles to set the fuzz/invariant run parameters instead of inlining it. Has the added benefit of separating out into two profiles so that tests can be selectively tuned down for the heavy fuzz pipeline without also tuning them down for the standard CI pipeline.
-
smartcontracts authored
Cleans up the existing semgrep rules and gets rid of the blanket ignores that were being applied everywhere now that we can add ignores for specific files in the rule config.
-
Mark Tyneway authored
* contracts: clean up deploy script abstractions Move the implementation deployments into `deployImplementations` and the initializations into the initizer function so that things are grouped more logically. Even though we use OPSM for modern deployments, the legacy code is still in the repo. This change makes it easier to implement Standard L2 Genesis, where we depend on the `OptimismPortal` being initialized before the `SystemConfig`, since the `SystemConfig` makes calls to the portal during its `initialize` call. * op-e2e: remove dependency on contracts existing Modularizes the functionality more * lint: fix
-
smartcontracts authored
Adds the sol-expectrevert-no-args semgrep rule locally.
-
- 05 Oct, 2024 9 commits
-
-
dependabot[bot] authored
* dependabot(gomod): bump golang.org/x/crypto from 0.27.0 to 0.28.0 Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.28.0. - [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.28.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * deps: fix go.mod --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Maurelian authored
* feat(ci): allow solc warnings on tests * Test: forge build with warnings in test * Revert "Test: forge build with warnings in test" This reverts commit b47982948a1ba8b2dbdb8806854326d903b52b49.
-
smartcontracts authored
Adds the sol-style-doc-comment semgrep rule locally. Fixes one instance that was caught by the rule.
-
Raffaele authored
Fix SECURITY.md
-
Mark Tyneway authored
* contracts: update chain assertions Updates the assertion that the storage is either 1 or 0xff. This enables the usage of `_disableInitializers` which is required for the Standard L2 Genesis project, so that the `SystemConfig` doesn't make external calls during its deployment. * lint: fix * nit: address naming * rebase and fix build * build: fix * build: fix
-
Maurelian authored
* feat: Move DEFAULT_STARTING_ANCHOR_ROOTS to Constants library * feat: Move DEFAULT_STARTING_ANCHOR_ROOTS to scripts/libraries/Constants * fix: import error
-
dependabot[bot] authored
Bumps [golang.org/x/time](https://github.com/golang/time) from 0.6.0 to 0.7.0. - [Commits](https://github.com/golang/time/compare/v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/time dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Maurelian authored
* feat: Move deployImplementations up to align with order of usage * feat: Add OPCM to deployImplementations * fix: compiler warning
-
Maurelian authored
(#12260) * feat: Rename setupSuperchain to deploySuperchain * feat: Replace deployImplementations with call to DeployImplementations.run() * feat: Add implsUnstrict() to get all impl addresses * feat: Remove deployL1xDM and move its ChainAssertion to deployImplementations * feat: Remove deployOptimismPortal2 and move its assertion to deplyImpls * feat: Remove deployOptimismMintableFactory and move its assertion to deplyImpl * fix: test file name * fix: Incorrect implementation contract name in _implUnstrict() * feat: Add checkSystemConfigInterop * feat: Move unused deploySuperchainConfig to DeployOwnership * feat: Delete deployOptimismPortalInterop * feat: Delete unused FP deploy functions Preimage Oracle DelayedWeth DGF A ChainAssertion was also added for the PreimageOracle * feat: Delete deploySystemConfig * feat: remove superfluous Unstrict suffix from contract getters * feat: Improve reason string in checkSystemConfigI * feat: Add missing chainAssertions * feat: Require interop flag sanity * feat: limit fuzz runs in CI on this test
-
- 04 Oct, 2024 7 commits
-
-
Mark Tyneway authored
* e2e: attempt fix L1Deployments check * e2e: attempt another fix
-
Minhyuk Kim authored
* Move serialize from cannon to op-service * Add binary deserialization to asterisc's state converter trace function * Use Asterisc's witness cmd to generate state data * Fix op-challenger tests * remove unnecessary logic from state_converter, and only test witness subcommand
-
Inphi authored
* cannon: Fix 64-bit memory access Also, replace `memory.GetMemory` with `memory.GetUint32` * Rename SetWord to SetUint32 * fix comment
-
Supply Chain Security authored
* Update SECURITY.md * Update SECURITY.md
-
smartcontracts authored
Adds local semgrep scanning with blocking CI rules. Since this is local it will run without needing to log in to semgrep and can therefore run on external branches.
-
Supply Chain Security authored
* Update SECURITY.md * Update SECURITY.md
-
Supply Chain Security authored
* Update README.md * Update README.md Changed idea * Update SECURITY.md
-
- 03 Oct, 2024 3 commits
-
-
Maurelian authored
-
Rick Bernt authored
* remove deleted .yml path * delete content about mergify
-
Matt Solomon authored
-