1. 25 Oct, 2024 5 commits
    • 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
  2. 24 Oct, 2024 20 commits
  3. 23 Oct, 2024 15 commits