1. 23 Jul, 2024 2 commits
    • Mark Tyneway's avatar
      deps: remove nyc (#11195) · 2de262ed
      Mark Tyneway authored
      * deps: remove nyc
      
      nyc is an unused dep for code coverage. This commit removes
      the dep as it is no longer used. We should remove deps that
      are not used as it bloats dependabot fixes in the monorepo
      as well as introducing attack vectors. Every dep is a liability
      and we should only have deps that we really need.
      
      * ci: cleanup
      
      Remove the calls to code coverage in ci
      
      * ci: add test
      2de262ed
    • Adrian Sutton's avatar
      0a42fa8a
  2. 22 Jul, 2024 7 commits
  3. 20 Jul, 2024 2 commits
    • mbaxter's avatar
      cannon: Refactor instrumented_state.go to extract reusable helpers (#11174) · 8b910d7a
      mbaxter authored
      * cannon: Extract TrackingOracle to allow reuse
      
      * cannon: Extract PreimageReader logic for easier reuse
      
      * cannon: Merge preimage-related tracking and access logic
      
      * cannon: Extract memTracker logic for easier reuse
      
      * cannon: Extract stack tracking logic for easier reuse
      
      * cannon: Break up StackTracker into noop and regular impls
      
      * cannon: Clean up PreimageReader
      8b910d7a
    • Sam Stokes's avatar
      Fix docker cross-platform builds (#10827) · 26eac671
      Sam Stokes authored
      * Disable CGO for op-node. Test cross-platform
      
      * Install latest gcp cli version before publishing docker image
      
      * Add oplabs-gcr context to docker-build job so it can publish
      
      * Do not save op-node docker image tag for devnet
      
      * Use TARGETARCH to conditionally set CC, CXX
      
      * Remove BUILDPLATFORM
      
      * Fix dangling && in dockerfile
      
      * Use apk instead of apt-get
      
      * Install correct apk cross build packages
      
      * Remove non-existent cross-build apk package
      
      * Use bullseye instead of alpine
      
      * Remove hardcoded CGO_ENABLED=0
      
      * Set CC and CXX in makefile
      
      * Add echo to makefile
      
      * Remove echo from makefile
      
      * Remove check-cross-platform test
      
      * Remove default values for CC and CXX from makefile
      
      * Add TARGETOS and TARGETARCH to top of dockerfile
      
      * Remove echo from dockerfile
      
      * Use debian TARGET_BASE_IMAGE
      
      * Add cross platform args to all relevant Makefiles
      
      * Add temp circle ci job to publish and check-cross-platform
      
      * Set CGO_ENABLED=0. Use alpine for TARGET_BASE_IMAGE
      
      * Use CMD instead of ENTRYPOINT for op-supervisor-target image
      
      * Add CC, CXX, CGO_ENABLED args to op-plasma
      
      * Remove CC and CXX from Makefiles
      
      * Use alpine image for builder
      
      * scheduled-docker-publish trigger changed to hourly or manual
      
      * Fix circle ci config
      
      * Fix warnings in dockerfile
      
      * Attempt cross compile without setting CGO_ENABLED=0
      
      * Add CGO_ENABLED=0 back for make op-node
      26eac671
  4. 19 Jul, 2024 1 commit
  5. 18 Jul, 2024 4 commits
    • Roberto Bayardo's avatar
      have batcher submit appropriate cancellation transactions when mempool is blocked (#10941) · b7f81887
      Roberto Bayardo authored
      * have batcher submit appropriate cancellation transactions when mempool is blocked
      
      * use a txRef type with a isCancel indicator instead of a magic channel id indicator
      b7f81887
    • Sam Stokes's avatar
      op-node: read BlockTime, SeqWindowSize from superchain-registry configs (#11172) · 4b804641
      Sam Stokes authored
      * op-node: read BlockTime and SeqWindowSize from superchain.ChainConfig
      
      * import latest superchain-registry main commit
      
      * op-node: update comment to accurately describe params read from scr
      4b804641
    • mbaxter's avatar
      cannon: Modularize mipsevm packages (#11135) · 4584c976
      mbaxter authored
      * cannon: Isolate test utilities, rework types to avoid circular dependencies
      
      * cannon: Rollback changes to MIPSEVM.EncodePreimageOracleInput
      
      * cannon: Move open_mips_tests to tests subpackage
      
      * cannon: Update some paths to open_mips_tests
      
      * cannon: Collect oracle utils, move generic tests to tests package
      
      * cannon: Move common state constants and utilities to core pkg
      
      * cannon: Move state.go and state_mt.go into impls package
      
      * cannon: Create a memory subpackage
      
      * cannon: Create exec pkg for mips logic
      
      * cannon: Wrap remaining core files in isolated pkgs
      
      * cannon: Create a few more subpackages
      
      * cannon: Rename state_mt to state
      
      * cannon: Move hex utility
      
      * cannon: Pull loading functionality out of patch.go
      
      * cannon: Remove 'MT' prefixes on multi_threaded/state.go symbols
      
      * cannon: Add compile-time PreimageOracle check back in
      
      * cannon: Undo excessive nesting in core package
      
      * cannon: Reorganize single- and multithreaded pkgs
      
      * cannon: Rename test_util pkg to testutil
      
      * cannon: Move instrumented_state logic into singlethreaded pkg
      
      * cannon: Fix test paths
      
      * cannon: Move core pkgs back to root mipsevm pkg
      
      * cannon: Flatten util pkg back into main mipsevm pkg
      
      * cannon: Cleanup - don't use vmstate for mipsevm pkg
      
      * cannon: Add godoc for FPVMState.GetRegisters()
      
      * cannon: Cleanup - fix pkg name, fn visibility
      4584c976
    • mbaxter's avatar
      cannon: Add basic types for MTCannon (#11109) · f5221f4d
      mbaxter authored
      * cannon: Rename StepWitness.MemProofs to ProofData
      
      * cannon: Add MTState type (in progress)
      
      * cannon: Tweak MtState tests to cover more ground
      
      * cannon: Add test for MTState.UpdateCurrentThread()
      
      * cannon: Use constants for byte size vars, set byte slice capacities
      
      * cannon: Add StepsSinceLastContextSwitch field
      
      * cannon: Rename witness offset constants
      
      * cannon: Rename ThreadContext to ThreadState
      
      * cannon: Panic on unimplemented method calls
      
      * cannon: Compute thread stack roots lazily
      
      * cannon: Push initial thread to left stack
      f5221f4d
  6. 17 Jul, 2024 3 commits
  7. 16 Jul, 2024 3 commits
  8. 14 Jul, 2024 2 commits
  9. 13 Jul, 2024 2 commits
  10. 12 Jul, 2024 3 commits
  11. 11 Jul, 2024 2 commits
  12. 10 Jul, 2024 5 commits
  13. 09 Jul, 2024 4 commits