- 11 Oct, 2024 4 commits
-
-
Chen Kai authored
* feat:add movf/movt tests Signed-off-by:
Chen Kai <281165273grape@gmail.com> * fix:fix code review nit Signed-off-by:
Chen Kai <281165273grape@gmail.com> --------- Signed-off-by:
Chen Kai <281165273grape@gmail.com>
-
Adrian Sutton authored
-
Adrian Sutton authored
* op-program: Store created blocks to avoid needing to re-execute them. Since op-program always creates a new block via engine_forkChoiceUpdated/engine_getPayload and then immediately sends the same block back to engine_newPayload to be imported, store the created block to the database without updating the chain head, so the engine_newPayload method is a no-op instead of having to execute the transactions again. * op-program: Add test that created block is not reprocessed on import (#12402) Also fixes differences in block hash for created payloads when using non-op stack chains.
-
mbaxter authored
* cannon: Fix test compilation for 64-bit * cannon: Fix typo
-
- 10 Oct, 2024 5 commits
-
-
smartcontracts authored
Slither hasn't been useful for a long time. Refer to issue #12410 for more context.
-
Michael Amadi authored
* use interface and deployutils for remaining contracts in l2genesis * fix semgrep errors, update semver
-
smartcontracts authored
Adds INTERFACES.md to explain how contract interfaces are used within the contracts-bedrock package.
-
Matt Solomon authored
-
Hamdi Allam authored
* e2e test * undo some changes * undo forge-std
-
- 09 Oct, 2024 12 commits
-
-
Matt Solomon authored
* feat: add op-deployer inspect command * lint * chore: clarify arg
-
smartcontracts authored
Adds semgrep to ci builder and adds justfile commands to install semgrep like everything else.
-
Matt Solomon authored
-
Adrian Sutton authored
-
Adrian Sutton authored
Restores compatibility with the target name people are used to using for e2e tests and that is mentioned in the README and error messages etc.
-
smartcontracts authored
Updates the dockerfile for building contracts-bedrock to use just forge-build instead of just build since just build now does a few other things for the sake of devex.
-
Chen Kai authored
Signed-off-by:
Chen Kai <281165273grape@gmail.com>
-
Chen Kai authored
Signed-off-by:
Chen Kai <281165273grape@gmail.com>
-
Blaine Malone authored
* OPCM: AddressManager and ProxyAdmin assertions. * fix: Added logic for proxy types to check implementations. * fix: touch ups for RDP impl checking. * fix: fully fledged proxies added to tests because of new assertions. * fix: removing console2 lib. * fix: semgrep complaining. * fix: comment cleanup and logical split to avoid stack too deep error. * fix: adding comment back in. * fix: added natspec comments for new DeployUtils functions. * fix: removed unused imports.
-
smartcontracts authored
Ports the interface checks command to go. Updates build command to execute forge fmt and the interface checks.
-
John Chase authored
* 1. Added `WithRegisters` for initializing state's `Registers`. 2. Added `ThreadProofEncoder` helper function to generate `ThreadProof`. 3. Updated `AssertEVMReverts` to include `statePCs` for multiple memory requirements, added `ProofData` parameter for passing `ThreadProof`, and introduced `expectedReason` parameter for more precise testing. 4. Revised `TestEVMFault` and `TestEVM_UnsupportedSyscall` test functions to be compatible with `AssertEVMReverts`. * lint fix and comment fix * avoid false negatives * delete WithRegisters && create ProofGenerator * assert multi outputs * fix naming issue * Update cannon/mipsevm/tests/evm_multithreaded_test.go Nice catch! Co-authored-by:
mbaxter <meredith.a.baxter@gmail.com> * Small fix * link check * make expectedReason a value & delete nil check --------- Co-authored-by:
mbaxter <meredith.a.baxter@gmail.com>
-
Maurelian authored
-
- 08 Oct, 2024 13 commits
-
-
Adrian Sutton authored
Update README to use singlethreaded-2 since the old singlethreaded likely isn't available if just compiling the latest version.
-
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 1 commit
-
-
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.
-