1. 01 Nov, 2024 6 commits
    • mbaxter's avatar
      cannon: Enable 64-bit tests (#12729) · fde52b49
      mbaxter authored
      * cannon: Set up fuzz tests to run across 32- and 64-bit VMs
      
      Update preimage read fuzz test to work on 64-bit vms
      
      * cannon: Run both 32- and 64-bit Cannon tests in CI
      
      * cannon: Separate log and coverage files for 32- and 64-bit tests
      
      * cannon: Clean up evm validation code
      
      * cannon: Move skip utility to testutil
      
      * cannon: Make TestState_EncodeWitness 64-bit compatible
      
      * cannon: Skip failing 64-bit tests
      
      * cannon: Update TestEVM_EmptyThreadStacks to work across 32- and 64-bit vms
      
      * cannon: Update version state tests, add build tags
      
      * cannon: Fix code coverage upload paths
      
      * cannon: Fix code coverage file extensions
      
      * cannon: Run 32/64-bit tests using a matrix
      
      * cannon: Try to set better name for arch-specific cannon tests
      
      * cannon: Use generated job names in bedrock requirements list
      
      * cannon: Add comment on new validator util
      
      ---------
      Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
      fde52b49
    • Maurelian's avatar
      1b4fda30
    • mbaxter's avatar
      cannon: Add noop stat syscall to MIPS64.sol (#12766) · 6f2058c4
      mbaxter authored
      * cannon: Add stat syscall to MIP64 contracts
      
      * cannon: Run semver lock task
      6f2058c4
    • Matthew Slipper's avatar
      ci: Parallelize fuzz jobs (#12765) · 3b998095
      Matthew Slipper authored
      * ci: Parallelize fuzz jobs
      
      Parallelize fuzz `make` targets using `xargs`. Previously, they were all running serially which led to long job runtimes.
      
      * Use machine
      
      * reduce executors to 8
      3b998095
    • protolambda's avatar
      op-e2e: interop cross L2 inbox system test (#12754) · 5e209a52
      protolambda authored
      * op-e2e: interop cross L2 inbox system test
      Co-authored-by: default avatarAxel Kingsley <axel.kingsley@gmail.com>
      
      * point at latest interop op-geth commit
      
      * lint
      
      * test fixes
      
      * update to latest geth commit
      
      * op-supervisor: uint32 log index, improve chainid test
      
      * correct uint64 to uint32 everywhere ; point at latest geth commit
      
      * use tagged geth version
      
      ---------
      Co-authored-by: default avatarAxel Kingsley <axel.kingsley@gmail.com>
      5e209a52
    • smartcontracts's avatar
      feat(ct): DeployDelayedWETH script (#12662) · 2c5f6ed3
      smartcontracts authored
      * feat(ct): DeployDelayedWETH script
      
      Adds a new deployment script for deploying a new DelayedWETH
      proxy contract.
      
      * fix tests
      
      * lint
      
      * delete letter o
      
      * move testdata
      
      ---------
      Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
      2c5f6ed3
  2. 31 Oct, 2024 11 commits
  3. 30 Oct, 2024 4 commits
  4. 29 Oct, 2024 13 commits
  5. 28 Oct, 2024 6 commits
    • Inphi's avatar
      cannon: Noop SYS_STAT for the mt stf (#12687) · 005116d9
      Inphi authored
      005116d9
    • protolambda's avatar
    • Inphi's avatar
      cannon: Implement bltzal (#12594) · 73094cb3
      Inphi authored
      73094cb3
    • Tyler Smith's avatar
      op-supervisor: Cross safe updates cycle detection + tests (#12530) · 2cf297da
      Tyler Smith authored
      * op-supervisor: experimental cross-safety, with hazard detection
      
      * tweak: Add some errors/error returns in backend/cross.
      
      * wip: Chain index <> ID mapping.
      
      * fix: Check parent instead of re-checking hazardBlock.
      
      * Remove Hazard Work
      
      * Write missing DB Bindings OpenBlock, LocallyDerivedFrom, CrossDerivedFrom
      
      * Configurable WorkFn for Workers
      
      * op-supervisor: move chain-index <> chain ID translation into dependency set, fix some interfaces
      
      * op-supervisor: update cross-safety worker routine
      
      * op-supervisor: update more error handling
      
      * op-supervisor: move errors to types package
      
      * op-supervisor: check CanExecuteAt and CanInitiateAt
      
      * op-supervisor: determine cross-safe candidate and L1 scope, and more fixes
      
      * todo L1 scope increment
      
      * op-supervisor: cross-safe L1 scope bump
      
      * op-supervisor: dependency set getter
      
      * op-supervisor: L1 scope increment fix
      
      * op-supervisor: fix cross-safe updates typing
      
      * op-node: signal L1 traversal of derivation to supervisor
      
      * op-supervisor: fromda fixes and tests
      
      * op-supervisor: fix OpenBlock, fix/add missing interface methods, hook up cross-safe worker routines
      
      * OpenBlock to return map[uint32]ExecutingMessage
      
      * Add Frontier Unit Tests
      
      * fix WithParent panic
      
      * op-node: register L1 traversal with op-supervisor
      
      * op-node,op-supervisor: add logging, temp work around for interop local-safe updates
      
      * Add safe_start_test, unsafe_start_test
      
      * Add safe_update_test and unsafe_update_test
      
      * add worker_test
      
      * op-supervisor: fix cross-safe L1 scope bumping
      
      * op-supervisor: fix logs DB test
      
      * Add cycle.go and initial unit tests.
      
      * fix: Use new execMsg log index info to complete graph.
      
      * debug: Add helper to write out Mermaid of our graph.
      
      * tests: Add more cycle tests.
      
      * tests: Organize cycle tests.
      
      * tests: Add NoCycle test.
      
      * fix: Add edges between basic logs.
      
      * tests: More comprehensive NoCycle tests.
      
      * tests: Make tests not use index-0 exec msgs for now.
      
      * fix: Disallow self-referencing messages.
      
      * fix: Safely handle unknown chains.
      
      * tests,fix: Remove unintended self-reference.
      
      * tests,fix: Remove unintended self-reference.
      
      * tests: Add test for the first log being exec.
      
      * refactor: Create ErrFailedToOpenBlock for error.
      
      * tests,refactor: Use table-driven tests to make it easier to iterate test vectors.
      
      * cleanup: Change some comments and make Mermaid debugging easier to disable.
      
      * tests: Add permuations of 2-cycles involving adjacency and first logs.
      
      * fix: When adding edges for execMsgs, remove node from inDegree0.
      
      * refactor: Split graph build from checks; abstract adding edges.
      
      This allows us to more easily test specifics of our cycle checking.
      
      Errors can be in either part, and only being able to test the entirety
      makes things a little difficult.
      
      Abstracting edge creation helps eliminate bugs like 118aeb6b8.
      
      * tests: Test execMsg to base log which is right after an execMsg to the first execMsg.
      
      * tests: Cycle across timestamps should not return an error.
      
      * fix: Don't consider cycles that depend on out-of-timestamp nodes.
      
      We do this by first collecting every execMsg from all chains, filtering
      out the out-of-timestamp nodes, and putting into a lookup map.
      
      When creating edges, we check to see if the target node is
      uninteresting.
      
      * fix: Remove debug mermaid logging.
      
      * cleanup: Remove stray text in comment.
      
      * tweak: Make presence check more idiomatic; remove possible nil map access.
      
      * docs: Improve comments in cycle detection code.
      
      * cleanup: Reorganize cycle detection code.
      
      * cleanup: Move public types to top.
      
      * cleanup: Change some names for consistency.
      
      * cleanup: Better comment in cycle detection.
      
      * docs: Explain graph representation.
      
      * tests: Re-organize HazardCycleChecks tests.
      
      * docs: Better naming and docs in cycle.go.
      
      * tests: Add large graph cycle detection tests.
      
      * tests: Add nil hazard map test.
      
      * refactor: Slightly tweak graph sort code to nest less; add comments.
      
      * tweak: Make self referencial messages fail with an ErrConflict.
      
      * tests: Add tests for both older/younger timestamps, and document that younger init msgs shouldn't occur.
      
      * tests: Add tests for 2-cycle with 3 chains.
      
      * tweak: Check that an exec msg's init msg exists.
      
      * tests: tweak test to use index 0 instead of 1.
      
      * cleanup: Remove unused function.
      
      * op-e2e: fix interop mock backend action test
      
      CI try 2
      
      ---------
      Co-authored-by: default avatarprotolambda <proto@protolambda.com>
      Co-authored-by: default avataraxelKingsley <axel.kingsley@gmail.com>
      2cf297da
    • Inphi's avatar
      cannon: Detect input/output codec mismatch before trace execution (#12676) · 788b2708
      Inphi authored
      * cannon: Check --input and --output file formats in CLI
      
      * cannon: Allow only binary state outputs in run cli
      
      * golang lint
      788b2708
    • Matthew Slipper's avatar
      ci: Remove hosted semgrep (#12701) · 0cb0cd6f
      Matthew Slipper authored
      We're not getting a lot of value from hosted Semgrep. This PR removes that in favor of just adding rules to the `semgrep/` directory so they can be run locally in CI.
      0cb0cd6f