- 12 Jun, 2024 8 commits
-
-
Adrian Sutton authored
-
Kien Trinh authored
-
Adrian Sutton authored
* challenger: Create generic vm executor and use for asterisc * challenger: Move executor utils to vm package * challenger: Switch cannon to use common vm executor. * challenger: Use vm.Config to encapsulate Cannon config items. * challenger: Rename to include Path * challenger: Use vm.Config to encapsulate Asterisc config items. * challenger: Remove unused interface * challenger: Reduce amount of config passed to cannon/asterisc trace providers * challenger: Remove Config from names * challenger: Remove replaced cannon metrics
-
Sebastian Stammler authored
* contracts: Make L2 genesis script configurable * contracts: Read latest fork from deploy config in L2 genesis script * contracts: add README entry for new L2 genesis script env vars * address review
-
zhiqiangxu authored
* output oldest l1 origin in channel * also log l2 range when channel close * use eth.ToBlockID * fix a bug * add testcase for 3 new fields
-
protolambda authored
-
Mark Tyneway authored
* op-chain-ops: cleanup genesis check Ensures that the check for contracts are correct based on the config flags instead of always skipping the fault proof contracts in the check. * config: fix
-
Mark Tyneway authored
Removes the `sdk-next` tests from CI. The sdk no longer lives in the protocol monorepo, it lives in the ecosystem monorepo now, see https://github.com/ethereum-optimism/ecosystem.
-
- 11 Jun, 2024 9 commits
-
-
Mark Tyneway authored
Delete `husky` and `lint-checked` from the monorepo as no active JS development happens here. There is no need to run the pre commit lint hook on every single commit, this only slows down the latency of all commits.
-
dependabot[bot] authored
Bumps [github.com/DataDog/zstd](https://github.com/DataDog/zstd) from 1.5.2 to 1.5.5. - [Release notes](https://github.com/DataDog/zstd/releases) - [Commits](https://github.com/DataDog/zstd/compare/v1.5.2...v1.5.5) --- updated-dependencies: - dependency-name: github.com/DataDog/zstd 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>
-
dependabot[bot] authored
Bumps [github.com/hashicorp/raft](https://github.com/hashicorp/raft) from 1.6.1 to 1.7.0. - [Release notes](https://github.com/hashicorp/raft/releases) - [Changelog](https://github.com/hashicorp/raft/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/raft/compare/v1.6.1...v1.7.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/raft 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>
-
Marcel authored
-
smartcontracts authored
Removes the SDK and adds a small temporary package that houses the two Hardhat tasks that the bedrock-devnet relies on. It's generally much nicer to have a dedicated place for the SDK in the ecosystem repository rather than having it exist in two places awkwardly simply because of these two tasks.
-
dependabot[bot] authored
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.70 to 7.0.71. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.70...v7.0.71) --- 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>
-
Roberto Bayardo authored
-
Jacob Elias authored
-
Park Changwan authored
-
- 10 Jun, 2024 7 commits
-
-
Axel Kingsley authored
-
Adrian Sutton authored
-
Raffaele authored
* adding timestamp for blocks checked and highest, so we can monitor how long ago the block we are using was produced * adding logs for connecting disputeGame with withdrawalHash * imporved logs * adding details on logs for wd-mon and faultproof-wd-mon * adding extra information for wd-mon also for valid withdrawal * Update packages/chain-mon/src/wd-mon/service.ts Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update packages/chain-mon/src/faultproof-wd-mon/service.ts Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fixing object * improved logs and metrics for wd mon * added extra logging information and fixing bugs on initial block number --------- Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Remove trianglesphere
-
Francis Li authored
-
Matthew Slipper authored
-
zhiqiangxu authored
-
- 09 Jun, 2024 3 commits
-
-
dependabot[bot] authored
* dependabot(gomod): bump golang.org/x/crypto from 0.23.0 to 0.24.0 Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.24.0. - [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.24.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * deps: update --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
Fixes the following compiler warning: ``` Compiler run successful with warnings: Warning (2018): Function state mutability can be restricted to view --> test/periphery/drippie/dripchecks/CheckBalanceLow.t.sol:20:5: | 20 | function test_name_succeeds() external { | ^ (Relevant source part starts here and spans across multiple lines). Warning (2018): Function state mutability can be restricted to view --> test/periphery/drippie/dripchecks/CheckGelatoLow.t.sol:45:5: | 45 | function test_name_succeeds() external { | ^ (Relevant source part starts here and spans across multiple lines). Warning (2018): Function state mutability can be restricted to view --> test/periphery/drippie/dripchecks/CheckSecrets.t.sol:30:5: | 30 | function test_name_succeeds() external { | ^ (Relevant source part starts here and spans across multiple lines). Warning (2018): Function state mutability can be restricted to view --> test/periphery/drippie/dripchecks/CheckTrue.t.sol:19:5: | 19 | function test_name_succeeds() external { | ^ (Relevant source part starts here and spans across multiple lines). ``` This should be caught in CI, not sure why it wasn't
-
dependabot[bot] authored
* dependabot(gomod): bump golang.org/x/term from 0.20.0 to 0.21.0 Bumps [golang.org/x/term](https://github.com/golang/term) from 0.20.0 to 0.21.0. - [Commits](https://github.com/golang/term/compare/v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * deps: update --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
- 08 Jun, 2024 4 commits
-
-
smartcontracts authored
Fixes a number of small bugs in the Drippie management script. - Fixes a bug that caused Gelato tasks to be created with the wrong time interval. - Improves the Drippie script to correctly pause tasks that are no longer present in the config file. - Adds config file prefixing so that the management script can be used with a number of different config files without those other tasks being paused by accident.
-
Dan Coombs authored
* feat(contracts-bedrock): add ERC-4337 entry point v0.7.0 to predeploys * fix: fix lint error
-
Diego authored
* contracts-bedrock: change type of otherBridge in ERC721Bridge to ERC721Bridge * contracts-bedrock: update semver-lock * contracts-bedrock: update snapshots * contracts-bedrock: bump version for L2ERC721Bridge * contracts-bedrock: bump version for L1ERC721Bridge * contracts-bedrock: update semver-lock * contracts-bedrock: update snapshots
-
Maurelian authored
-
- 07 Jun, 2024 6 commits
-
-
mbaxter authored
* cannon: Extract MIPS execute logic from mips.{go,sol} * cannon: Add compiler version and license to MIPSInstruction.sol * cannnon: Remove visibility modifier from library function * cannon: Extract mips sign extend functions * cannon: Move MIPS.sol comment to avoid line break, clarify comment * cannon: Run `pnpm lint:fix` * cannon: Run `pnpm semver-lock` * cannon: Run `pnpm snapshots` * cannon: Use namespace import for MIPSInstructions
-
Adrian Sutton authored
-
Mark Tyneway authored
* contracts-bedrock: fix custom gas token withdrawals to L1 The previous implementation of the `FeeVault` used the `StandardBridge` to withdraw `ether`. Under custom gas token, this meant that withdrawals to L1 didn't work and withdrawals to L2 were the only supported path. This updates the `L2ToL1Messenger` to withdraw to L1 via the `L2ToL1Messenger`. This fixes the ability to withdraw to L1 while custom gas token is enabled while also saving some gas on both L1 and L2 by removing extra call frames. The reason why this was originally implemented using the `StandardBridge` was to reduce additional changes during the development of bedrock so that more effort could be spent thinking about the new protocol design, as the legacy implementation used the `StandardBridge` for doing the withdrawal. Having the `StandardBridge` used for `ether` deposits and withdrawals is unncessarily expensive and a bit of a leaky abstraction. Gas savings are scalability improvements, both on L1 and on L2. Also uses a new variant of `SafeCall` that passes through all gas in its `transfer`. The implementation ensures to assert on the return value of the call to hold the invariant true that the `totalProcessed` will always be consistent. If the call reverts, then its possible for the `ether` to not be transferred and `totalProcessed` to be incremented. Also bump the semver of the contracts to a beta version. They will be bumped out of beta at a release of the contracts. The tests are also improved for both the `SafeCall` library as well as the `FeeVault`. * op-e2e: withdrawal tests * e2e: update test with comments * feevault: fix tech debt Updates the `FeeVault` to use modern style guide. Its not great to leak `immutable` style into the ABI so add extra getters and mark the legacy getters as deprecated. Doing this now will help to migrate to the new getters in 1 year from now. Also add in the storage layout spacer that was previously noticed in an audit, see https://github.com/ethereum-optimism/optimism/pull/9477. * semver-lock: update + compiler warning * snapshots: regenerate * lint: fix * tests: fixup * gas-snapshot: update * test: fix * contracts-bedrock: reuse existing implementation of send in SafeCall Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> * contracts-bedrock: update gap in FeeVault for inheritance to start at 50 gap * contracts-bedrock: add missing assertions in tests for SequencerFeeVault * contracts-bedrock: remove redundant if clause in SafeCall tests * contracts-bedrock: fix gas relation in SafeCall tests * contracts-bedrock: update send method tests for SafeCall * op-e2e: add missing check in custom gas token tests * contracts-bedrock: fix types in SafeCall tests * contracts-bedrock: update snapshots * contracts-bedrock: update semver-lock * op-e2e: fix custom_gas_token test * op-e2e: fix custom gas token test * contracts-bedrock: fix tests for custom gas token * op-e2e: fix tests for custom gas token * op-e2e: fix build --------- Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Adrian Sutton authored
-
Brian Bland authored
* op-conductor: Fix leader promotion when node is behind consensus by 1 block * Do not transfer leadership when posting unsafe head * Fix related log line
-
Adrian Sutton authored
-
- 06 Jun, 2024 3 commits
-
-
jinjingroad authored
Signed-off-by:
jinjingroad <jinjingroad@sina.com>
-
Adrian Sutton authored
-
Brian Bland authored
-