- 07 May, 2024 2 commits
-
-
Sam Stokes authored
* Revert "Revert "Merge pull request #8242 from ethereum-optimism/go-docker-targets"" This reverts commit d972c460. It also fixes up some conflicts / inconsistencies, since op-conductor was added after the original revert. * ops: experimental cross-build fixes * Retrieve git tag in Circle CI and use to set op version within docker image * Update dispute-mon and da-server to use new docker build flow * Fix GIT_VERSION script in Circle CI config.yml * Update ops-bedrock docker-compose to use new docker build flow * Load pre-built op-challenger image in devnet tests * Save op-challenger.tar to avoid docker rebuild in devnet tests * Add Circle CI job for check-cross-platform * Allow env var to override VERSION in Makefiles * Pass version to op-program components except op-program-client * Wrap all docker-bake variable names in quotes --------- Co-authored-by:
protolambda <proto@protolambda.com>
-
Mark Tyneway authored
* op-chain-ops: delete memdb The simple in memory statedb implementation that was backed by a genesis has served us well but is no longer required since we build the genesis files using foundry. This was originally used to enable simple execution to deploy contracts and then dump into a `genesis.json`. Keeping this memdb around will only bloat PRs that update the geth version as they may change the interface to the statedb. Instead of using the memdb interface, the genesis is modified directly. * lint: fix * style: way better Co-authored-by:
protolambda <proto@protolambda.com> * build: fix * build: fix --------- Co-authored-by:
protolambda <proto@protolambda.com>
-
- 06 May, 2024 8 commits
-
-
Mark Tyneway authored
* ci: `ci-builder:0.49.0` Includes a bump of slither https://github.com/ethereum-optimism/optimism/pull/10411 * ci: slither github action bump version
-
zhiqiangxu authored
-
clabby authored
## Overview Updates the sepola devnet 0 deploy config's absolute prestate value to match that of `op-program/v1.0.0`'s tag. ### Verification 1. `git checkout op-program/v1.0.0` 1. In the monorepo root, run `make reproducible-prestsate` 1. Compare the resulting prestate hash with the one in this PR.
-
zhiqiangxu authored
-
dependabot[bot] authored
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.13.14 to 1.13.15. - [Release notes](https://github.com/ethereum/go-ethereum/releases) - [Commits](https://github.com/ethereum/go-ethereum/compare/v1.13.14...v1.13.15) --- updated-dependencies: - dependency-name: github.com/ethereum/go-ethereum dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Zach Howard authored
-
Mark Tyneway authored
slither is currently erroring in CI with a strange error. This bumps `slither` to the latest release in an attempt to fix that issue. The issue is described here: https://github.com/ethereum-optimism/optimism/pull/10410 The release can be found here: https://github.com/crytic/slither/releases This needs a release of `ci-builder` followed up to get the new version of slither running in CI.
-
Ethnical authored
-
- 05 May, 2024 1 commit
-
-
Adrian Sutton authored
-
- 04 May, 2024 1 commit
-
-
Mark Tyneway authored
Previous implementation didn't correctly serialize as string so it came out as unreadable, now we make sure to abi encode and decode correctly. Enables us to know which commit the code runs on to help with debugging.
-
- 03 May, 2024 18 commits
-
-
Mark Tyneway authored
Now that the fault proof contracts release has happened, we can merge in the custom gas token changes. This reverts commit 2b1c99b3.
-
Adrian Sutton authored
-
Inphi authored
* op-chain-ops: Add unclaimed game credits script `unclaimed-credits` computes the unclaimed credits across all games and who is eligible to claim them. Useful for superchain-ops actions. * account for step creditors
-
Maurelian authored
* ctb: Deploy DeputyGuardianModule WIP: need to fix superchainconfig address issue * ctb: Expand security council config
-
Adrian Sutton authored
-
Inphi authored
* cannon: Adjust initial heap start This gives the program more memory to work with; minimizing the chance of heap/stack corruption. * Update cannon/mipsevm/patch.go Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by:
clabby <ben@clab.by> Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
-
clabby authored
Promotes the fault proof contracts that are semantically versioned to `1.0.0`, in preparation for the upcoming deployment.
-
Adrian Sutton authored
It requires env vars that aren't set for external PRs.
-
Mark Tyneway authored
Skip check for codesize on gov token address if governance is not enabled.
-
Maurelian authored
* ctb: Add deploySecurityCouncilSafe * ctb: Allow _callViaSafe to use an arbitrary safe address * ctb: Refactor Security Council deploy Adds console.log calls Uses the new _callViaSafe to reduce a lot of boilerplate * ctb: Add livenessModuleInterval to deploy config * ctb: Add livenessModuleThresholdPercentage to deploy config * ctb: Add LivenessModuleMinOwners to deploy config * ctb: Add council safe config and satisfy liveness module constructor * ctb: Make liveness deploy funcs public * Add DeployOwnership.sol * Use deploySafe(name) to deploy SC and Foundation * ctb: just use addr_ on all named returns * ctb: Fix create2 collision in deploySafe * ctb: Add example foundation config * ctb: Add example council config and set it up * ctb: Remove unused imports * ctb: Address feedback on deploy ownership * Add override for deploySafe with custom owners and threshold ctb: Use the deploySafe override where applicable * ctb: cleanup keepDeployer logic * fixup! Add override for deploySafe with custom owners and threshold * snapshots
-
Adrian Sutton authored
Custom config options were being applied before the defaults, causing them to be overwritten. In particular this meant there was a small sequencer window and safe head progressed rapidly.
-
Matt Solomon authored
-
protolambda authored
-
Mark Tyneway authored
* contracts-bedrock: simplify L1 state dump Removes the need to specify the L1 chainid via CLI. Follows similar patterns to L2 genesis generation that were done recently. Follow up PRs can potentially use the same sort of deployer pattern as in https://github.com/ethereum-optimism/optimism/pull/10343 for when doing the L1 genesis dump to remove the need to specify the private key. * contracts-bedrock: explicit deploy config Remove the concept of implicit deploy config for explicit deploy config. This removes confusing implicit behavior as well as makes it much more straight forward for deploying multiple superchain targets to the same L1. This is a breaking change but the error message makes it very obvious and the docs are being updated in a way that should include this information. * contracts-bedrock: fix possible error * config: cleanup * deploy-config: fixup * contracts-bedrock: delete name function The `name()` function existed due to legacy purposes when dealing with hardhat artifacts and no longer is necessary. This commit removes it in favor of a simpler approach of just using the chainid instead of the name. The files that are written are not committed into the repo. * contracts: delete dead code * lint: fix * kontrol: fixup * contracts-bedrock: prevent error * kontrol: fixup * kontrol: fix script * gitignore: update * devnet: simplify * Update packages/contracts-bedrock/scripts/Config.sol Co-authored-by:
Matt Solomon <matt@mattsolomon.dev> --------- Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Matt Solomon authored
This reverts commit a6074a7d.
-
Axel Kingsley authored
* point at op-geth v1.13.13 * update triedb import path * update deprecated core structs to types package * Update op-geth with tx pool fix. * point at v1.13.14 * point at geth v1.13.15 * fix NewStackTrie call * remove pin * use op-geth v1.101315.0-rc.1 --------- Co-authored-by:
Adrian Sutton <adrian@oplabs.co>
-
Mark Tyneway authored
* contracts-bedrock: custom gas token L1 contracts Implement the L1 contract diff of the custom gas token spec Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * contracts-bedrock: custom gas token L2 contracts Implement the L2 contract diff of the custom gas token spec Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * contracts-bedrock: custom gas token contracts Libraries and universal contracts in the custom gas token spec Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * contracts-bedrock: custom gas token scripts Implement the scripts for the custom gas token spec Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * contracts-bedrock: custom gas token tests Implement tests for the custom gas token spec Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * op-bindings: update with custom gas token Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * op-chain-ops: fixup tests Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * contracts-bedrock: snapshots Update snapshots Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * cleanup: get tests passing * contracts-bedrock: cleanup tests * contracts-bedrock: cleanup custom gas token * op-bindings: regenerate * codesize: fix * contracts-bedrock: custom gas token cleanup Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com> * build: fix * custom-gas-token: fix build * custom-gas-token: cleanup, final spec nits * gas-snapshot: fix * contracts-bedrock: cleanup * contracts-bedrock: semver lock * invariant-docs: fixup * storage-layout: address * bindings: remove preview * bindings: add back bindingspreview * weth: remove weth9 Migrate to WETH based on weth98 * contracts-bedrock: cleanup * custom-gas-token: more cleanup Fix abi * contracts-bedrock: test case * custom-gas-token: cleanup, tests * lint: fix * custom-gas-token: address review comments * snapshots: regenerate * lint: fix * contracts-bedrock: clean up semantics of cgt Custom gas token semantics are strengthened and cleaned up to ensure invariants in spec are held true. * snapshots: regenerate * snapshots: gas snapshot * semver-lock: regenerate * comments: address * semver: calculate * ctb: revert in test * tests: fix flake * portal: better comment * test: fixup * lint: fix * snapshot: gas --------- Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com>
-
Mark Tyneway authored
Cleans up the logs in the L2 genesis generation script. Very small fix just to clean things up. Also moves to using `prank` of `start/stop` `prank` to catch hanging calls to `prank` as if a prank is active you cannot call `prank` but you can call `startPrank`. This ensures that we know if a prank is active or not instead of one being silently active.
-
- 02 May, 2024 6 commits
-
-
Mark Tyneway authored
Update deps
-
Matt Solomon authored
Fully removes the legacy `L2_OUTPUT_ORACLE_SLOT`. Upon upgrade, this slot will be cleared. Co-authored-by:
clabby <ben@clab.by>
-
Mark Tyneway authored
Ensures that the commit hash is logged as part of the deploy script's execution so its easier to help debug issues with it.
-
refcell authored
* feat: log bond amount in dispute mon honest actor loss * Update op-dispute-mon/mon/claims.go Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by:
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
-
refcell authored
* fix(op-dispute-mon): remove the delays calculator * fix(op-challenger): resolution import
-
clabby authored
* feat: Squash libraries in dispute contracts Reorganizes the libraries in the dispute contracts to remove circular dependencies. The existing dependency structure resolves within the monorepo's environment, but not when the monorepo's contracts are imported as a forge project dependency. This unblocks our ability to use these contracts for post-checks in `superchain-ops`. * Remove `IDisputeGame` dep in `LibUDT` * semver lock
-
- 01 May, 2024 4 commits
-
-
Maurelian authored
* ctb: Enable setting custom names in deploySafe() * Fix formatting * ctb: fix spacing on deploySafe log
-
Mark Tyneway authored
* contracts-bedrock: L1Block interop Ports the `L1Block` contract from the `feat/interop` branch to develop using a pattern where we can extend the contracts. This sort of pattern may not always work but is an experiment in reducing feature branches. * contracts-bedrock: reorder params for func in L1BlockInterop * contracts-bedrock: add missing test for L1Block * contracts-bedrock: refactor tests for L1BlockInterop * contracts-bedrock: add L1BlockInterop to differential-testing.go * contracts-bedrock: add test for testDiff_encodeSetL1BlockValuesInterop_succeeds in Encoding tests * op-node: add L1BlockInterop to derive l1_block_info * op-node: add FuzzL1InfoInteropRoundTrip * op-node: add tests for L1Block to l1_block_info * contracts-bedrock: update snapshots for L1Block, L1BlockInterop * contracts-bedrock: update semver-lock for L1Block, L1BlockInterop * Revert "op-node: add tests for L1Block to l1_block_info" This reverts commit d2e599e43b774cf9a5de474db1f5aa744885ce91. * Revert "op-node: add FuzzL1InfoInteropRoundTrip" This reverts commit e14007c0fb7dd723bcd66235696da19e378fa974. * Revert "op-node: add L1BlockInterop to derive l1_block_info" This reverts commit 4bb279bb4a504227ca05de38818bfbddbdae3c98. * Revert "contracts-bedrock: add test for testDiff_encodeSetL1BlockValuesInterop_succeeds in Encoding tests" This reverts commit 12f9a07cd71d504b1ea57a753d95b8e6439caa57. * Revert "contracts-bedrock: add L1BlockInterop to differential-testing.go" This reverts commit 209669de69d35b456494602cb64ffc435689602d. * contracts-bedrock: drop redundant test in tests for L1BlockInterop * contracts-bedrock: fix order of function args in L1Block * contracts-bedrock: update semver-lock for L1Block --------- Co-authored-by:
Diego <105765223+0xfuturistic@users.noreply.github.com>
-
Zach Howard authored
-
Zach Howard authored
-