- 28 Jun, 2024 5 commits
-
-
zhiqiangxu authored
-
I love OP authored
Co-authored-by:
Odysseas <Odysseasmakt@gmail.com>
-
mbaxter authored
* cannon: Add forge debug test * cannon: Add assertion on the expected return value * cannon: Add more logging to MIPS tests * cannon: Only log step input on test failure
-
Adrian Sutton authored
* op-supervisor: Introduce pipeline concept and stage to handle all blocks on head update * op-supervisor: Simplify to just call a block processor directly * op-supervisor: Simplify further to remove pipeline entirely and hook up processor * op-supervisor: Separate out and test the head update callback. * op-supervisor: Fetch receipts for each block
-
Adrian Sutton authored
* op-supervisor: Create clients and monitor chain heads for each L2 chain * op-supervisor: Remove rpc url from log message * op-supervisor: Update tickets in TODOs
-
- 27 Jun, 2024 7 commits
-
-
mbaxter authored
* cannon: Extract step helpers * cannon: Wrap step helper logic in unchecked * cannon: Use consistent var name between solidity and go (fun) * cannon: Dedupe `opcode` and `fun` calculations * cannon: Bump MIPS.sol version * cannon: Run semver-lock, snapshots * cannon: Address slither warnings * cannon: Make sure all lib functions are unchecked
-
Bill authored
-
Inphi authored
-
Mark Tyneway authored
* op-upgrade: deprecate Delete `op-upgrade` and its related packages. These are no longer used in favor of the `superchain-ops` repo. No need to keep around dead code. The `safe` and `upgrades` packages are deleted. * justfile: delete
-
dependabot[bot] authored
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.24.0 to 0.24.2. - [Release notes](https://github.com/btcsuite/btcd/releases) - [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES) - [Commits](https://github.com/btcsuite/btcd/compare/v0.24.0...v0.24.2) --- updated-dependencies: - dependency-name: github.com/btcsuite/btcd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
protolambda authored
* op-node: maintain sync-status through events, remove legacy snapshot-log * op-service: fix typo Co-authored-by:
Adrian Sutton <adrian@oplabs.co> * op-node: clarify hidden snapshot log flag * op-node: make CurrentL1 SyncStatus update more frequently --------- Co-authored-by:
Adrian Sutton <adrian@oplabs.co>
-
- 26 Jun, 2024 5 commits
-
-
Adrian Sutton authored
-
Mark Tyneway authored
* contracts-bedrock: cleanup interop predeploys Small refactor to the interop predeploys to reuse existing code. It was determined safe to use the `SafeCall` library, so we opt to use that instead of duplicating code. No tests are added since existing test coverage ensures that these calls happen as expected. A manual mutation test where the value was not passed through was performed and failing tests were observed. The `SafeCall` library was previously pinned to `0.8.15` due to the "call with min gas" semantics, it may be possible that a new compiler version could emit code that doesn't act how `0.8.15` acts, but the whole gas introspection thing is an anti pattern and we have invariant tests that would catch this if we modified the solc version used by `OptimismPortal`. We know to never follow this pattern again, ie `hasMinGas` or `callWithMinGas` should never be used again in the codebase and should be deleted at some point once we get rid of the whole min gas limit semantics. * lint: fix * semver-lock: update
-
dependabot[bot] authored
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.12.4 to 0.13.0. - [Release notes](https://github.com/multiformats/go-multiaddr/releases) - [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.12.4...v0.13.0) --- updated-dependencies: - dependency-name: github.com/multiformats/go-multiaddr dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Inphi authored
-
- 25 Jun, 2024 14 commits
-
-
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
-
amber guru authored
* Replace errors import with errutil in correct case * fix after goimports -w .
-
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.
-
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
-
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:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Adrian Sutton authored
-
Adrian Sutton authored
Implement checks for required fields in config and add tests for them.
-
Adrian Sutton authored
-
Adrian Sutton authored
-
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
-
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
-
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.
-
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`.
-
protolambda authored
-
- 24 Jun, 2024 2 commits
-
-
protolambda authored
-
protolambda authored
* op-node: event handling on block attributes todo * op-node: update plasma step to no longer hardcode pipeline stepping
-
- 22 Jun, 2024 3 commits
-
-
Adrian Sutton authored
Current fault dispute rules are that the safe head is extended to the end of the trace.
-
protolambda authored
* op-program: refactor to use events derivers * op-node: differentiate between invalid payload and invalid payload attributes
-
Theburaka authored
-
- 21 Jun, 2024 4 commits
-
-
smartcontracts authored
-
Raffaele authored
-
Tei Im authored
* Use common.Hash type in asterisc VMState * Update asterisc test state
-
Thebuilder authored
* Fix OP-GETH broken link * use correct link * fix link
-