- 27 Apr, 2024 3 commits
-
-
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 17 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
-
Joshua Gutow authored
-
Adrian Sutton authored
* ci: Add scheduled job to check reproducibility of op-program preimages. * ci: Add slack notification on failure.
-
Danyal Prout authored
* Enable Fjord in e2e tests / test for RIP-7212 * switch to tagged op-geth
-
Sebastian Stammler authored
-
clabby authored
## Overview Updates the deploy configuration on Sepolia devnet.
-
- 23 Apr, 2024 3 commits
-
-
Mark Tyneway authored
* op-chain-ops: delete dead code This commit includes the deletion of a bunch of dead code after https://github.com/ethereum-optimism/optimism/pull/10106 has been merged. There is no need to maintain a bunch of custom go code to generate the L2 genesis anymore, all of that is handled directly in solidity. * op-chain-ops: delete more dead code * op-chain-ops: more cleanup * cleanup: remove old references * op-chain-ops: cleanup abstractions Co-authored-by:
refcell <abigger87@gmail.com> --------- Co-authored-by:
refcell <abigger87@gmail.com>
-
Mark Tyneway authored
Now that https://github.com/ethereum-optimism/optimism/pull/10106 has been merged, this script is dead code and can be deleted. It was previously the cause of many race conditions and flakes in CI. Now all genesis generation is done directly in solidity, simplifying the process as a whole.
-
Sam Stokes authored
* Add rangeReqId so we can cancel all associated block req via single flag * Use crypto/rand instead of math/rand for randomReqId * Use atomic counter instead of random num for rangeReqId * Remove redundant peerRequest.complete field. Use inFlight instead * Add mutex to activeRangeRequests map * Do not penalize peer for block not found error * Fix inFlight request clean up logic * Add test checks for cancelled range request * Add mutex protection to inFlight map * Use constants for ResultCode * Simplify inFlight.get method logic * Use same struct for activeRangeRequests and inFlight
-