Skip to content

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Mar 18, 2025

Obtained by running

git cherry-pick 7c4917bc4b0ba1b4a9f31bb04aea5a8d65d94883..d3b8eadd80457c74d9c4251948ac11e8d14a9c9c

and fixing conflicts

smartcontracts and others added 30 commits March 18, 2025 13:08
Adds the Incident Response Improvements security review by offbeat
labs.
…e subcmd (ethereum-optimism#14488)

* feat: op-deployer clean cache command

Signed-off-by: Yashvardhan Kukreja <[email protected]>

* lint

Signed-off-by: Yashvardhan Kukreja <[email protected]>

* chore: cleaner dealing with test dir

Signed-off-by: Yashvardhan Kukreja <[email protected]>

* chore: refactor the IsolatedTestDirWithAutoCleanup and break import cycle

Signed-off-by: Yashvardhan Kukreja <[email protected]>

* chore: small cleanup

Signed-off-by: Yashvardhan Kukreja <[email protected]>

---------

Signed-off-by: Yashvardhan Kukreja <[email protected]>
…ereum-optimism#14493)

* feat(op-program-svc): introduce new service to compute prestates

* test(op-program-svc): add tests

* Update kurtosis-devnet/op-program-svc/README.md

Co-authored-by: Inphi <[email protected]>

---------

Co-authored-by: Inphi <[email protected]>
…um-optimism#14489)

* op-service: make signer client compatible with SetCodeTx type

* use hexutil.U256 instead of hexutil.Big

* add explanatory comments

* Fix authorizationList json tag

Co-authored-by: protolambda <[email protected]>

* use helper fcn with panic for big.Int to uint256.Int

* use uint256.MustFromBig instead of custom helper

---------

Co-authored-by: protolambda <[email protected]>
…ptimism#14523)

Cleans up the security reviews table because it had some errors
and a few missing entries. Updates codeowners so that the
security reviewers team can merge into the docs folder.
* Treat non-zero vm exits as a special case

* Only handle panics as a special case

* Add more tests

* Record panic metrics

* Tweak error message
Updates the OptimismPortal to not alias 7702 addresses. Updates
several other contracts to use a standard library for checking if
the msg sender is an EOA.
…essBlocks()` (ethereum-optimism#14520)

* op-batcher: always updateCursorAndMetrics when returning from processBlocks()

* Update op-batcher/batcher/channel_manager.go

Co-authored-by: Sebastian Stammler <[email protected]>

---------

Co-authored-by: Sebastian Stammler <[email protected]>
…4514)

* fix: Unique markers for devnet-sdk

* chore: Add a test
…-optimism#14516)

* op-challenger: Avoid loading duplicate leaves.

* op-challenger: Sanity check length of fetched input data.

Provides a clearer error message if the fetch is incorrect rather than just InvalidProof() revert reason.

* op-challenger: Deduplicate blocks in contract bindings.

* Deduplicate block numbers in test setup now that the contract bindings handle it.

* Fix more tests.
…ptimism#14534)

Adds semgrep rules and a new golang contracts check for
reinitializer modifiers. Important safety checks now that we are
using upgrade functions.
* all: update op-geth to v1.101500.1

* op-batcher,op-e2e/system: Take floor data gas into account, fix AutoDA test

Fixes ethereum-optimism#14513

* Fix EIP-2935 implementation and tests

* op-program/client/l2: Fix chainContext.Config() to return actual cfg

* op-program/client/l2/test: Nilify chain config blob schedule

* update op-geth v1.101500.2-synctest.4

* Replace IntrinsicGas with FloorDataGas for calldata estimations

* Remove static MaxBlobsPerBlobTx constant

* update op-geth/v1.101500.2-rc.1

* revert usage of params.HistoryServeWindow
* op-supervisor: Check message expiry

* add safe_update tests

* fix override expiry window description

* log warn when overriding expiry window

* lint

* fix tests

* Fix supervisor_checkMessages; use ErrConflict

* tweak supervisor_checkMessages API

* add supervisor_checkMessagesV2

* update op-geth dependency

* move override to depset config; fix checkMessagev1

* go.mod: drop diff again, op-geth was updated in develop branch

---------

Co-authored-by: protolambda <[email protected]>
* op-challenger: Add Super DG contract caller

* op-dispute-mon: Support Super FDG game types
…thereum-optimism#14554)

* op-node: Remove OverrideMessageExpiryTimeInterop from rollup.Config

* fix test fixture
…hannel timeout log (ethereum-optimism#14553)

* op-batcher: remove ChannelManager.CheckExpectedProgress

* op-batcher: add warning log when a channel times out on chain
…d()` (ethereum-optimism#14561)

* op-batcher: correctly track block metrics in handleChannelInvalidated

Includes test which fails without the fix.

* op-batcher: log out channels which are dropped during handleChannelInvalidated()

* change to warn log for dropped channels
teddyknox and others added 29 commits March 18, 2025 13:16
…m-optimism#14719)

* Fix problem with kurtosis-devnet deploy

* Add NAT test for Isthmus withdrawal root header
* Fix problem with kurtosis-devnet deploy

* Add devnet-sdk port of op-e2e fees_test.go
* Fix problem with kurtosis-devnet deploy

* Port Fjord check scripts op-e2e test to devnet-sdk
* Fix problem with kurtosis-devnet deploy

* Add devnet-sdk port of op-e2e erc20_bridge_test.go
…timism#14413)

This is a temporary measure, until we can integrate a proofs-only
fileserver with the op-challenger deployment.

But in the meantime, this unblocks a decent amount of idempotent
kurtosis deployments, by avoiding kurtosis invalidating the execution
cache needlessly.
* feat: interop portal fast follow 1

First set of fast-follow changes to the interop portal.

* fix: PR review feedback
* feat: update operator fee contract bytecodes

* feat: add Isthmus contracts version check
…ptimism#14770)

This change introduces a trampoline package that we can use to pin the
(transitive) dependencies of our optimism package.
…thereum-optimism#14796)

De-duplicate iteration of each hard fork between Description and LogDescription
* op-deployer: Clarify versioning docs

* Apply suggestions from code review

---------

Co-authored-by: Matt Solomon <[email protected]>
* fix(op-deployer): default cache dir

* add explanatory fallback log
* feat: interop fixes (ethereum-optimism#287)

* feat: interop fixes

* fix: natspec format

* chore: add field on struct natspec

---------

Co-authored-by: 0xDiscotech <[email protected]>

* fix: campaign fixes (ethereum-optimism#313)

* feat: interop fixes

* fix: permit2 not inifinite approval check

* chore: enhance superchain erc20 natspec

* chore: tests natspec

* fix: incorrect merge

---------

Co-authored-by: agusduha <[email protected]>

* chore: remove interop contracts (ethereum-optimism#318)

* chore: remove unnecessary interop contracts

* fix: golang tests

* chore: remove system config interop and run pre pr

* fix: exlude correct contracts on test to succeed

* chore: update initializer array length

* fix: semver lock

* fix: L2 audit findings (ethereum-optimism#323)

* fix: audit findings

* chore: pre-pr

* refactor: avoid stack too deep removing params on test (ethereum-optimism#324)

---------

Co-authored-by: AgusDuha <[email protected]>
Co-authored-by: agusduha <[email protected]>
* ctb/validator: Add v3.0.0 validator

* use exp import

* ci fixes

* fix slice sort

* add operator fee validation

* fix tests
…thereum-optimism#14510)

Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](google/go-cmp@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add unichain mainnet

* bump superchain registry and refactor parser

* json to toml

* correct typo

* fmt

* add permissions

* try hardcoded key

* escape

* test

* superchain-ops like fix

* select standard validation version

* fmt

* update version

* change test to ink

* build base cache

* uni, ink base and op

* bump superchain registry

* bump registry

* skip op test on other chains

* fmt

* skip non-op test for non-op chains

* fmt

* fix tests of conflicts

* remove console import

* remove correct import

* util function
Previously, any deployment using tagged releases on an official chain like Sepolia would use the predeployed OPCM. The predeployed OPCM would point these chains to the global `SuperchainConfig`, which may not have been the intended behavior. This PR updates the logic in the deployment pipeline to use the global `SuperchainConfig` under the following conditions:

1. The user specifies intent type `standard`.
2. The user specifies intent type `standard-overrides` and does not modify the Superchain roles.
…imism#14820)

* feat: remove DisputeGameFactory input from SystemConfig

Updates the SystemConfig to kill the DisputeGameFactory input. By
getting this address from the OptimismPortal we can remove the
need for unnecessary inputs that would have to be changed if the
DisputeGameFactory changes.

* fix: make tests work

* fix: remove console log

* fix: move address fetch

* fix: address pr feedback

* fix: missing semicolon

* chore: remove DISPUTE_GAME_FACTORY_SLOT

* test: fix abi spec

---------

Co-authored-by: Matt Solomon <[email protected]>
* update op-geth dependency

* update scr submodule
@Rjected Rjected merged commit ee2ce18 into develop Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.