1. 28 Oct, 2024 5 commits
  2. 27 Oct, 2024 3 commits
    • I love OP's avatar
      fix Makefile (#12668) · 84ba885e
      I love OP authored
      84ba885e
    • Karl Bartel's avatar
      Makefile: Fix executable command detection (#12080) · 3e31ea4f
      Karl Bartel authored
      `$(command -v geth)` is valid shell syntax, but it gets processed by
      make first, so that this never gets correctly executed by the shell. As
      a result, `make install-geth` and `make install-eth2-testnet-genesis`
      are always executed and not, as intended, just when the commands are not
      present.
      
      The fix is easy: escape the dollar by duplicating it, so that make won't
      do anything and the correct command reaches the shell.
      3e31ea4f
    • Matthew Slipper's avatar
      ci: fix goreleaser (#12667) · 71fd6704
      Matthew Slipper authored
      The Docker release requires special args.
      71fd6704
  3. 26 Oct, 2024 9 commits
  4. 25 Oct, 2024 11 commits
    • smartcontracts's avatar
      maint(ct): rm fee vault withdrawal script (#12638) · 02d58323
      smartcontracts authored
      Removes the FeeVaultWithdrawal.s.sol script that was previously
      used to trigger withdrawals manually. All of this is automated now
      and you can just use Etherscan if you really want to do things
      manually so the value of the script is minimal.
      02d58323
    • Michael Amadi's avatar
      add interfaces for safe contracts (#12650) · d69e922b
      Michael Amadi authored
      * add interfaces for safe contracts, use named imports for DeputyGuardianModule
      
      * fix failing test
      d69e922b
    • protolambda's avatar
      op-supervisor: Cross-safe updates [rebased] (#12624) · da4c33c5
      protolambda authored
      * op-supervisor: cross-safe-updates PR squashed
      
      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
      Co-authored-by: default avataraxelKingsley <axel.kingsley@gmail.com>
      Co-authored-by: default avatarTyler Smith <mail@tcry.pt>
      
      * op-node: fix interop deriver test
      
      * op-e2e: fix interop action test
      
      * op-supervisor: improve map init
      
      * op-node: link interop TODO comment to issue, in engine events emitter
      
      * op-supervisor: cleanup Worker instances of tests
      
      ---------
      Co-authored-by: default avataraxelKingsley <axel.kingsley@gmail.com>
      Co-authored-by: default avatarTyler Smith <mail@tcry.pt>
      da4c33c5
    • zhiqiangxu's avatar
      do forge clean when make clean (#12635) · 9f22034f
      zhiqiangxu authored
      9f22034f
    • Michael Amadi's avatar
      update test folder so segrep require and revert checks pass (#12628) · 38db5117
      Michael Amadi authored
      * update test folder so that smegrep require and revert checks pass for it
      
      * fix test
      38db5117
    • smartcontracts's avatar
      feat(ct): add semgrep rule to use encodeCall (#12626) · d317e96c
      smartcontracts authored
      * feat(ct): add semgrep rule to use encodeCall
      
      encodeCall is almost always better than encodeWithSelector because
      it maintains type safety. Prefer encodeCall unless
      encodeWithSelector is actually necessary.
      
      * maint(ct): update contracts to use encodeCall
      
      Updates a number of contracts to use encodeCall instead of
      encodeWithSelector where possible.
      d317e96c
    • Adrian Sutton's avatar
    • Inphi's avatar
      cannon: Simplify load/stores with helper functions (#12599) · 1b7a4140
      Inphi authored
      * cannon: Simplify load/stores with helper functions
      
      * use subword utils in MIPS.sol
      
      * lint MIPS.sol
      
      * add natspec to MIPSInstructions.sol
      
      * use updateSubWord in MIPSInstructions.sol
      
      * bump MIPS contract semver
      
      * fix nits
      1b7a4140
    • Inphi's avatar
      cannon: Remove memory.SetUint32 (#12617) · f59d257e
      Inphi authored
      * cannon: Remove memory.SetUint32
      
      Remove uint32 word stores from the `mipsevm.memory` interface. `SetUint32` is inflexible
      due to its word-alignment constraints. This prevents tests for 32 and 64-bit VMs from
      using the same program counter values when writing instructions to memory.
      
      Instead, tests should use the new `testutil.StoreInstruction` utility function to write instructions to any naturally aligned memory location.
      
      * use arch.Word csats in go-ffi
      f59d257e
    • Matthew Slipper's avatar
      op-e2e: Improve WaitForBlock timeouts (#12627) · 0f9897b0
      Matthew Slipper authored
      Update WaitForBlock to maintain two timeouts: a no-change timeout, which fires if the chain's head does not change within a specified window, and an absolute timeout, which fires if the chain's head does not meet or exceed the specified block.
      
      These changes should ideally reduce the number of test flakes we're seeing. Everything takes longer when test executors are under load; by maintaining these two timeouts we can provide longer-running tests with more buffer while retaining the ability to fail fast if the chain gets stuck.
      
      As part of this PR I also refactored the wait method to use polling rather than WebSockets. I've found WebSockets to be unreliable in tests.
      0f9897b0
    • clabby's avatar
  5. 24 Oct, 2024 12 commits