1. 27 Jun, 2024 6 commits
  2. 26 Jun, 2024 5 commits
  3. 25 Jun, 2024 14 commits
    • mbaxter's avatar
      cannon: Encapsulate syscall helpers (#10978) · 73d56a9d
      mbaxter authored
      * cannon: Increment MIPS.sol version
      
      * cannon: Add syscall args helper
      
      * cannon: Extract mmap helper
      
      * cannon: Extract sysRead helper
      
      Also:
      - Extract solidity memory helpers into new lib.
      - Reorganize syscall constants.
      
      * cannon: Add NatSpec documentation to solidity syscall helpers
      
      * cannon: Extract sysWrite helper
      
      * cannon: Use consistent naming convention
      
      * cannon: Extract sysFcntl helper, fix typos
      
      * cannon: Consolidate comments, fix formatting
      
      * cannon: Add helper for setting registers, pc fields
      
      * cannon: Reorganize syscall constants
      
      * cannon: Fix MIPSMemory import
      
      * cannon: Run semver-lock and snapshots
      
      * cannon: Explicitly inject proof offsets into helper fns
      
      Proofs offsets may differ between implementations, so these values must
      be passed into helper functions rather than calculated internally.
      
      * cannon: Remove hard-coded state.memRoot references from MIPSMemory.sol
      
      * cannon: Work around stack too deep error
      
      * cannon: Rework stack-too-deep fix
      
      * cannon: Run semver-lock and snapshots
      
      * cannon: Validate calldata size directly in readMem, writeMem
      
      * cannon: Run semver-lock and snapshots
      73d56a9d
    • amber guru's avatar
      op-e2e: Replace errors import with errutil in correct case (#10844) · d8bde214
      amber guru authored
      * Replace errors import with errutil in correct case
      
      * fix after goimports -w .
      d8bde214
    • Adrian Sutton's avatar
      Record executing messages in log db and handle write failures (#10973) · f3da9a53
      Adrian Sutton authored
      * op-supervisor: Support recording executing message info
      
      * op-supervisor: Reduce permissions
      
      * op-supervisor: Implement recovery for entry db
      
      * op-supervisor: Track size in entrydb instead of last entry idx
      
      * op-supervisor: Trim log entries back to the last valid ending point
      
      * op-supervisor: Remove the manual recover operations since recovery at startup is automatic
      
      * op-supervisor: Add support for writing multiple entries in a single write
      
      * op-supervisor: Write all entries for a log in one append call.
      
      Only update in-memory state after the write succeeds.
      
      * op-supervisor: Handle partial writes
      
      * op-supervisor: Extract logic to reverse an init event
      
      * op-supervisor: Use errors.New
      
      * op-supervisor: Combine the two AddLog variants.
      
      * op-supervisor: Remove place holder tests.
      
      * op-supervisor: Separate Executes and Contains queries
      
      * op-supervisor: Only read executing message when it is actually used.
      f3da9a53
    • Mark Tyneway's avatar
      op-chain-ops: cleanup foundry package (#10801) · 1e0ea43e
      Mark Tyneway authored
      * op-chain-ops: cleanup foundry package
      
      Moves the foundry related code into the foundry package.
      We have some code for reading the allocs that foundry writes
      to disk with `vm.dumpState(string)`. It makes more sense to
      have these functions and types in the `foundry` package
      rather than the `genesis` package.
      
      * op-chain-ops: fix compile issue
      
      * op-node: port package usage
      1e0ea43e
    • dependabot[bot]'s avatar
      dependabot(gomod): bump github.com/minio/minio-go/v7 (#10980) · 81b430bc
      dependabot[bot] authored
      Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.71 to 7.0.72.
      - [Release notes](https://github.com/minio/minio-go/releases)
      - [Commits](https://github.com/minio/minio-go/compare/v7.0.71...v7.0.72)
      
      ---
      updated-dependencies:
      - dependency-name: github.com/minio/minio-go/v7
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      81b430bc
    • Adrian Sutton's avatar
    • Adrian Sutton's avatar
      op-supervisor: Add datadir option (#11000) · 630cf349
      Adrian Sutton authored
      Implement checks for required fields in config and add tests for them.
      630cf349
    • Adrian Sutton's avatar
    • Adrian Sutton's avatar
      8894075c
    • Adrian Sutton's avatar
      op-supervisor: Add log db (#10902) · 1cf5239c
      Adrian Sutton authored
      * op-supervisor: Introduce thread-unsafe log database
      
      * op-supervisor: Add simple r/w locking
      
      * op-supervisor: Add comment
      
      * op-supervisor: Start switching to multi-entry database format
      
      * op-supervisor: Improve test to cover the case where a new block starts at a search checkpoint boundary (other than at the start of the file)
      
      * op-supervisor: Use a flag to indicate when log index should increment rather than a 1 byte increment amount.
      
      * op-supervisor: Comment out unused stuff to make lint happy.
      
      * op-supervisor: Load correct block number and log idx on init
      
      * op-supervisor: Refactor state to only hold context that can always be kept up to date.
      
      * op-supervisor: Support rewinding
      
      * op-supervisor: Remove TODO that probably won't be done there
      
      * op-supervisor: Require first log in block to have logIdx 0
      
      * op-supervisor: Remove completed TODO.
      
      * op-supervisor: Improve testing for logs not existing
      
      * op-supervisor: Fix typo
      
      * op-supervisor: Tidy up TODOs and pending tests.
      
      * op-supervisor: Add invariant assertions for db data
      
      * op-supervisor: Lock db in ClosestBlockInfo
      
      * op-supervisor: Label alerts
      
      * op-supervisor: Use a TruncatedHash for logs everywhere and make it a fixed size array.
      
      * op-supervisor: Separate serialization of initating events
      
      * op-supervisor: Separate serialization of other event types and enforce type code.
      
      * op-supervisor: Introduce entry type
      
      * op-supervisor: Split out an entry database
      
      * op-supervisor: Introduce structs for entry types
      
      * op-supervisor: Use a struct for CanonicalHash too
      1cf5239c
    • Francis Li's avatar
      op-conductor: add override to disable HA mode in disaster recovery scenarios (#10976) · c54b656b
      Francis Li authored
      * op-conductor: add override to disable HA mode in disaster recovery scenarios
      
      * op-conductor: add leader override in conductor API
      
      * Change leaderOverride to atomic.Bool
      c54b656b
    • Mark Tyneway's avatar
      monorepo: enshrine ts config (#10797) · d74848c2
      Mark Tyneway authored
      Move the ts config out of the root of the repo to the packages
      themselves. This is because no new typescript development is planned
      for the monorepo itself, new typescript lives in the ecosystem monorepo,
      see https://github.com/ethereum-optimism/ecosystem. It may also live in
      the monitoring monorepo, see https://github.com/ethereum-optimism/monitorism.
      
      This will make porting the individual ts packages out of the monorepo
      more simple and also cleans up the root of the monorepo, reducing the
      overhead for contributors.
      d74848c2
    • Mark Tyneway's avatar
      monorepo: remove dead indexer reference (#10796) · ccd2b3d4
      Mark Tyneway authored
      The `pnpm-workspace.yaml` file should no longer
      include a reference to the ts package that was removed
      along with the `indexer`.
      ccd2b3d4
    • protolambda's avatar
      f9d49101
  4. 24 Jun, 2024 2 commits
  5. 22 Jun, 2024 3 commits
  6. 21 Jun, 2024 6 commits
  7. 20 Jun, 2024 4 commits