- 29 Apr, 2024 7 commits
-
-
Adrian Sutton authored
-
Adrian Sutton authored
When a game is ignored because of this option it logs a warning and reports a count of ignored games via a new metric.
-
Adrian Sutton authored
Avoids it getting increasingly slower over time.
-
Mark Tyneway authored
* op-bindings: delete more dead code Remove more dead code from the `op-bindings` package. The only thing left are the generated bindings themselves which can be moved to the packages that depend on them. `op-e2e` may be the only remaining package that depends on bindings. The predeploy addresses still exist, there is a question as to where they should live. Perhaps in `op-node` since they are consensus critical parameters. The etherscan client was moved into `op-chain-ops` because it could be useful in the future but it should also be deleted if it ends up not being used at all. * indexer: fix build
-
Mark Tyneway authored
* op-bindings: more cleanup Deletes the preview more file + registry and also moves some `op-bindings` packages to `op-chain-ops`. We have some duplicate types defined in `op-chain-ops` that we can consolidate into the `foundry` and `solc` packages in subsequent commits. * build: fix
-
Mark Tyneway authored
Fixes the `make build` command to ensure that it works. Previously it checked if the env var was set for the nvm dir, but that doesn't guarantee there is a file there. Run the nvm file if it exists after checking that it exists. Can confirm that the build command works for me now locally.
-
Adrian Sutton authored
-
- 27 Apr, 2024 4 commits
-
-
Diego authored
* contracts-bedrock: create CrossL2Inbox * contracts-bedrock: create ICrossL2Inbox * contracts-bedrock: create tests for CrossL2Inbox * contracts-bedrock: update CrossL2Inbox sol version to ^0.8.24 * contracts-bedrock: rename test to .t.sol ext * contracts-bedrock: make snapshots * contracts-bedrock: update semver-lock * contracts-bedrock: drop snapshots for CrossL2InboxTest * contracts-bedrock: update license for tests CrossL2Inbox * contracts-bedrock: add CrossL2Inbox to predeploys * contracts-bedrock: pin sol version of CrossL2Inbox to 0.8.25 * contracts-bedrock: update semver-lock for CrossL2Inbox * contracts-bedrock: add CROSS_L2_INBOX to predeploys * contracts-bedrock: make slots internal in CrossL2Inbox * contracts-bedrock: add custom errors to CrossL2Inbox * contracts-bedrock: refactor tests for CrossL2Inbox * contracts-bedrock: use TransientContext in CrossL2Inbox * contracts-bedrock: fix L2Genesis test * contracts-bedrock: minor tweaks to documentation in tests for CrossL2Inbox * contracts-bedrock: relabel BLOCKNUMBER_SLOT to BLOCK_NUMBER_SLOT in CrossL2Inbox * contracts-bedrock: update snapshots for CrossL2Inbox * contracts-bedrock: update semver-lock for CrossL2Inbox * contracts-bedrock: improve documentation for CrossL2Inbox * contracts-bedrock: update semver-lock for CrossL2Inbox * contracts-bedrock: fix tests for CrossL2Inbox * contracts-bedrock: update modifier in CrossL2Inbox * contracts-bedrock: drop arguments in custom errors for CrossL2Inbox * contracts-bedrock: update snapshots for CrossL2Inbox * contracts-bedrock: update semver-lock for CrossL2Inbox * contracts-bedrock: fix tests for CrossL2Inbox * contracts-bedrock: remove redundant lines in CrossL2Inbox * contracts-bedrock: add tests for CrossL2Inbox * contracts-bedrock: update semver-lock for CrossL2Inbox * contracts-bedrock: minor improvements to tests for CrossL2Inbox * contracts-bedrock: remove ENTERED_SLOT in CrossL2Inbox * contracts-bedrock: remove CrossL2Inbox from isSupportedPredeploy * contracts-bedrock: update semver-lock for CrossL2Inbox * contracts-bedrock: update CrossL2Inbox with eip3074 specs * contracts-bedrock: update tests for CrossL2Inbox with eip3074 specs * contracts-bedrock: improve doc in tests for CrossL2Inbox * contracts-bedrock: update snapshots for CrossL2Inbox * contracts-bedrock: update semver-lock for CrossL2Inbox
-
Afanti authored
* fix: typo in the code comments * fix: correct the syntax error in the code comment
-
dependabot[bot] authored
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.69 to 7.0.70. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.69...v7.0.70) --- 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>
-
dependabot[bot] authored
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.9 to 1.25.10. - [Release notes](https://github.com/go-gorm/gorm/releases) - [Commits](https://github.com/go-gorm/gorm/compare/v1.25.9...v1.25.10) --- updated-dependencies: - dependency-name: gorm.io/gorm 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>
-
- 26 Apr, 2024 5 commits
-
-
clabby authored
Updates the system config with a major version bump for a `DisputeGameFactory` in lieu of the deprecated `L2OutputOracle`.
-
Aaron Chen authored
* op-challenger: fix a bug in TestMonitorGames * just return instead of break loop * remove blank lines
-
Park Changwan authored
* op-challenger: Share providers across different asterisc game instances Avoids loading the full state to extract the commitment for each individual game. * Fix flag error
-
Park Changwan authored
* op-challenger: Apply multiple prestates for asterisc * op-challenger: Add asterisc-prestates-url flag to configure a source for prestates based on hash
-
Adrian Sutton authored
op-challenger, op-dispute-mon: Support both old and new versions of the dispute game contracts (#10302) * op-challenger, op-dispute-mon: Support both old and new versions of the dispute game contracts. * op-challenger: Update fault dispute game contract tests to cover multiple versions.
-
- 25 Apr, 2024 12 commits
-
-
Mark Tyneway authored
This package was helpful when we still relied on hardhat for the compiler toolchain. Now that we use foundry, this is no longer used anywhere. Deleting to reduce dead code in the repo.
-
Mark Tyneway authored
This package canonicalized the ast ids that were placed in the bindings `more` files because any change in the smart contracts would cause a massive diff in the storage layout for all storage layouts as they used the ast ids to represent types. We needed to canonicalize them to have deterministic bindings generation, otherwise CI would generate the bindings in a non deterministic way. As we adopted new solidity features, it would find edge cases in our ast canonicalize algo, breaking CI. This code helped us for a long time but now it is no longer used and can be retired.
-
Mark Tyneway authored
Removes the bindgen cli tool from the repo since it is not owned by anybody and also not used to generate bindings anymore since we are moving away from auto generated bindings.
-
Adrian Sutton authored
-
Adrian Sutton authored
Avoids loading the full state to extract the commitment for each individual game.
-
Adrian Sutton authored
op-challenger: Rename `--l2-rpc` to `--l2-eth-rpc` and log warning for deprecated `--cannon-l2` (#10257) * op-challenger: Log a warning when deprecated --cannon-l2 option is used. * op-challenger: Rename --l2-rpc to --l2-eth-rpc for consistency with --l1-eth-rpc
-
Mark Tyneway authored
Now that genesis generation is in solidity, delete dead code. This code serialized solidity types suitable for storage. Very similar to abi encoding but not always the same, big difference was dynamic types, this library only supported dynamic types <= 31 bytes to not handle the chunking. This impacted the sorts of types that could be in the genesis storage.
-
Diego authored
* contracts-bedrock: create TransientContext.sol * contracts-bedrock: create test for Transient.sol * contracts-bedrock: add documentation for Transient library * contracts-bedrock: fix transient test * contracts-bedrock: minor improvements to Transient lib tests * contracts-bedrock: minor improvements to documentation for tests of Transient * contracts-bedrock: minor improvements to documentation for tests of Transient * contracts-bedrock: refactor Transient lib * contracts-bedrock: add missing documentation in Transient lib * contracts-bedrock: set correct CALL_DEPTH_SLOT in Transient lib * contracts-bedrock: refactor Transient lib into TransientContext lib * contracts-bedrock: improve labeling of vars in TransientContext * contracts-bedrock: create tests for TransientContext * contracts-bedrock: change var type of CALL_DEPTH_SLOT * contracts-bedrock: refactor tests for TransientContext * contracts-bedrock: refactor tests for TransientContext * contracts-bedrock: add testFuzz_increment_fromMax_reverts * contracts-bedrock: create test_increment_overflow_succeeds * contracts-bedrock: drop underflow check in TransientContext * contracts-bedrock: add additional tests for TransientContext * contracts-bedrock: add documentation for TransientContext * contracts-bedrock: add documentation for TransientContext * contracts-bedrock: use suffix for return vars in TransientContext * contracts-bedrock: use inline hash for callDepthSlot in TransienttContext tests * contracts-bedrock: reintroduce transient-storage ignored error code to foundry.toml * contracts-bedrock: remove unnecessary tests for TransientContext * contracts-bedrock: create snapshots
-
Inphi authored
-
smartcontracts authored
* feat(ct): update max bond gas to 300m Updates the maximum bond gas to 300m up from 200m. Corresponds to the increase in the cost of publishing a large preimage as a result of emitting the data as part of a log. * update kontrol x --------- Co-authored-by:
clabby <ben@clab.by>
-
Adrian Sutton authored
Extracts the game creation logic into reusable code.
-
Juan C authored
-
- 24 Apr, 2024 12 commits
-
-
Adrian Sutton authored
* op-challenger: Implement prestate sources * op-challenger: Add canon-prestates-url flag to configure a source for prestates based on hash
-
clabby authored
* feat(ctb): Log preimage oracle calldata * Add log tests x more binding
-
Aaron Chen authored
-
Joshua Gutow authored
-
Ethnical authored
* chore: `chain-mon` restructuring + fix some paths (exclude contracts for now) * chore: Fix the path of the docker with the new restructuring. * chore: Change the `CODEOWNERS` for the `balance-mon`
-
Mark Tyneway authored
* contracts-bedrock: remove bindings requirement Previously, CI enforced that bindings were kept up to date with any changes to the smart contracts. This resulted in a lot of churn with CI, created large diffs when opening PRs and also took a long time to recompile and generate bindings. Now that no major services depend on `op-bindings`, we can remove the need to enforce they are kept up to date. The rest of the bindings themselves can be removed in a separate PR. Merging this gives a sigh of relief for all smart contract devs working on the optimism codebase. * op-bindings-e2e: delete
-
Mark Tyneway authored
Migrates the `op-plasma` service away from using `op-bindings`. Part of deprecating `op-bindings` as part of smart contract dev. Services are responsible for maintaining their own bindings now.
-
zhiqiangxu authored
* ensure "maxDepth < p.depth" never happens * add more log
-
Mark Tyneway authored
* op-bindings: delete `more` files The `op-bindings` more files existed to add extra information to the bindings that were helpful in particular for the L2 genesis generation process. This commit deletes all more files as well as the code for generating them. It also deletes the top level `registry.go` file that used an `init` function to populate public getters for accessing the data in more files. Now that the L2 genesis doesn't happen in Go, this is all dead code. Removing this will greatly reduce diff when smart contract code changes. * cleanup: more dead code * cleanup: decouple dead code
-
Mark Tyneway authored
* contracts-bedrock: remove cannon deps on bindings Removes `cannon` deps on `op-bindings` package following a pattern similar to https://github.com/ethereum-optimism/optimism/pull/10225. Includes test coverage of the new functions and is the minimal diff to get things working. Ideally there was a canonical forge artifact type that is used but for now we don't worry about it. This unblocks further work on removing the bindings from the monorepo, greatly improving devex. * cannon: cleanup, new approach * ci: attempt fix * ci: attempt fix * ci: fixup
-
Park Changwan authored
* op-e2e: Expose fields for asterisc e2e * op-e2e: Add Helper Initializer methods * op-e2e: Apply initializer methods and exposed fields * op-e2e: Expose methods for asterisc e2e
-
Joshua Gutow authored
-