Skip to content

feat: v0.4.0 release candidate#816

Closed
smartcontracts wants to merge 11 commits intodevelopfrom
v0.4.0-rc
Closed

feat: v0.4.0 release candidate#816
smartcontracts wants to merge 11 commits intodevelopfrom
v0.4.0-rc

Conversation

@smartcontracts
Copy link
Copy Markdown
Contributor

Description
PR keeping track of all changes which go into v0.4.0

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 8, 2021

🦋 Changeset detected

Latest commit: 422e608

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@eth-optimism/contracts Minor
@eth-optimism/batch-submitter Patch
@eth-optimism/data-transport-layer Minor
@eth-optimism/message-relayer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 17, 2021

Codecov Report

Merging #816 (6bc67ab) into develop (cc209be) will decrease coverage by 82.21%.
The diff coverage is 0.00%.

❗ Current head 6bc67ab differs from pull request most recent head 5198312. Consider uploading reports for the commit 5198312 to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #816       +/-   ##
===========================================
- Coverage    82.21%   0.00%   -82.22%     
===========================================
  Files           48      50        +2     
  Lines         1895    1948       +53     
  Branches       303     312        +9     
===========================================
- Hits          1558       0     -1558     
- Misses         337    1948     +1611     
Impacted Files Coverage Δ
...acts/contracts/chugsplash/L2ChugSplashDeployer.sol 0.00% <0.00%> (ø)
...ethereum/OVM/accounts/OVM_ECDSAContractAccount.sol 0.00% <ø> (ø)
.../optimistic-ethereum/OVM/accounts/OVM_ProxyEOA.sol 0.00% <ø> (ø)
...hereum/OVM/chain/OVM_CanonicalTransactionChain.sol 0.00% <ø> (-93.66%) ⬇️
...ic-ethereum/OVM/chain/OVM_StateCommitmentChain.sol 0.00% <ø> (-87.50%) ⬇️
...ic-ethereum/OVM/execution/OVM_ExecutionManager.sol 0.00% <0.00%> (-74.52%) ⬇️
...eum/OVM/predeploys/OVM_ExecutionManagerWrapper.sol 0.00% <0.00%> (ø)
...thereum/OVM/predeploys/OVM_SequencerEntrypoint.sol 0.00% <ø> (ø)
...ethereum/libraries/resolver/Lib_AddressManager.sol 0.00% <0.00%> (-100.00%) ⬇️
...libraries/wrappers/Lib_ExecutionManagerWrapper.sol 0.00% <0.00%> (ø)
... and 42 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc209be...5198312. Read the comment docs.

* feat: Add ChugSplash config parsing with handlebars

* break out validation function

* fix: minor typo in config tests
)

* wip: start storage slot parsing lib for chugsplash

* add support for packed storage slots and do bytesN correctly

* fix lint errors

* Simplify some repeated logic

* style: small improvements and comments

* Update testing for storage library

* test: Add some tests for unsupported types

* fix: use semver to block unsupported solidity versions
* wip: adding chugsplash action bundling logic

* minor cleanup and comments

* lint: fix strange linting error

* test: Add mock contract for testing Merkle proofs
…contract (#808)

* wip: Started working on L2 contract testing revamp

* test: clean tests for ProxyEOA

* style: clean imports for ProxyEOA tests

* test: port tests for ECDSAContractAccount

* fix tests and add wrapper to dump

* fix: add em wrapper to l2 deploy

* ffix: add comments to wrapper contract

* fix: add more comments

* fix: add smock comment for unbind

* Update packages/smock/src/smockit/binding.ts
* maintenance: use dashes in chain container names

* chore: add changeset
…es from config files (#749)

* wip: Start chugsplash hardhat tooling

* docs: add some comments

* style: break storage slot compute line into two lines

* test: Add tests for hardhat tooling

* fix: use stricter env type
…yments (#755)

* wip: ChugSplashDeployer contract

* Get rid of a few todos

* test: Add another test shell

* Update Deployer spec

* lint: fix

* fix[contracts]: stub out setstorage and setcode for complete tests

* fix: have owner set in constructor

* fix: add events and more restrictions to ChugSplashDeployer

* fix: use Ownable in deployer

* docs: add comments to deployer

* chore: add changeset

* feat:[contracts]: add deployer to state dump

* fix[contracts]: change default chug splash owner

* feat: add overrideTransactionBundle function
* feat[contracts]: disable eoa upgrades temporarily

* chore: add changeset

* Update OVM_ProxyEOA.sol

* fix: turn upgrade into a noop

* lint: fix
…up data transport layer (#820)

* feat: update and improve AddressSet event

* chore: add changeset

* Update Lib_AddressManager.sol
@github-actions github-actions bot removed the A-geth label May 17, 2021
)

* feat[contracts]: enable initiating L2 upgrade via L1 to L2 message

* chore: add changeset
@snario
Copy link
Copy Markdown
Contributor

snario commented May 19, 2021

We need to modify this to be from regenesis/0.4.0 and delete v0.4.0-rc

theochap pushed a commit that referenced this pull request Dec 10, 2025
* reorg common

* lint

* feat(mpt): Extend `TrieProvider` in `kona-executor`

* lint

* reorg common

* lint

* feat(workspace): Reorganize SDK
OptimismBot pushed a commit that referenced this pull request Jan 23, 2026
github-merge-queue bot pushed a commit that referenced this pull request Jan 23, 2026
* feat: opcm2 interop migrate (#796)

* feat: support interop migration in OPCMv2

* fix: merge conflicts

* fix: proper interface usage

* feat: update VerifyOPCM for migrator

* chore: lint

* fix: pr tweaks

* fix: update go side

* fix: simplify game data decoding logic

* test: add test for invalid starting game type

* fix: pr review

* feat: add interop migration support for op-deployer

* feat: add opcm v2 input for interop migration

* feat: refactor interop migration to use ABI encoding and semver detection

Replace JSON marshaling with proper ABI encoding using w3 library for migrate inputs.
Change OPCM version detection from isDevFeatureEnabled to semantic version comparison.
Restructure MigrateInputV1 to use nested GameParameters and Proposal structs.
Update DisputeGameConfig.GameArgs from Hash to bytes for correct ABI encoding.
Add isVersionAtLeast helper for version comparison (OPCM v2 starts at 7.0.0).
Update tests and contracts to use version() method instead of feature flags.

* docs: add description comments to migrate.go

* feat: add opcmv2 migrate support to WithSuperRoots

* fix: game parameters uint64 types

* refactor: move IsVersionAtLeast helper to utils and add tests

* fix: uint64 to big int conversion in EncodedMigrateInputV1

* test: interop migration v2

* test: interop migration v2 (not working)

* test: updates migration test to migrate to OptimismPortalInterop

* fix: test comments

* test: add migrate input v1 encoding test

* test: add interop migration v1 test

* test: merge TestInteropMigration v1 and v2 tests

---------

Co-authored-by: Flux <175354924+0xiamflux@users.noreply.github.com>

* refactor: separate migrate from migrate-v2 cli command

---------

Co-authored-by: Kelvin Fichter <kelvinfichter@gmail.com>
Co-authored-by: niha <205694301+0xniha@users.noreply.github.com>

* test: opcm2 migrate cli test (#798)

* feat: add migrate cli command tests

* poc: e2e cli migrate tests

* fix: replace stdout with app writer

* refactor: replace default value for StartingRespectedGameTypeFlag

* fix: migrate cli v1 and v2 e2e tests

---------

Co-authored-by: niha <205694301+0xniha@users.noreply.github.com>

* fix: interop migration fixes

* fix: remove address 0 condition to use opcmv2 & refactor useOPCMV2 internal variable in InteropMigration script

* test: add interop migration run revert cases

* fix: restore migrate cli flag order

* fix: migrateInput V2 json field

* chore: opcm2 pr (#799)

* chore: remove unused imports

* chore: fix tests naming

* fix: add uint32 input range validation in migrate v2

* fix: opcm2 misc (#802)

* test: fix struct property names

* fix: use correct exported function name

* chore: removes unused import

* fix: opcm2 review comments (#808)

* chore: remove unused flags

* chore: close rpc client in migrate

* chore: add sanity check when encoding migrate input

* refactor: reutilizes isVersionAtLeast to check if using OPCM v2

* refactor: unify migrate v1 and v2 flows in the same CLI

* refactor: check for common required flags, reduce repeated code between migrate v1 and v2 paths

* chore: rename Migrate exclusive vars to indicate they are supposed to be used during migration only

* chore: remove unused OPChainProxyAdminFlag flag

* chore: close underlying client in migrate path

* chore: add overflow uint check

* chore: rename variable deployer to deployerAddr

* chore: add overflow check for starting respected game type in migrate flow

* fix: encode gameArgs as abi encoded bytes32

* chore: rename starting Respected game type related vars on migrate flow

* chore: remove repeated required flags tests

* fix: migrate opd test (#816)

---------

Co-authored-by: Kelvin Fichter <kelvinfichter@gmail.com>
Co-authored-by: niha <205694301+0xniha@users.noreply.github.com>
Co-authored-by: 0xOneTony <112496816+0xOneTony@users.noreply.github.com>
Co-authored-by: OneTony <onetony@defi.sucks>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-op-batcher Area: op-batcher A-pkg-core-utils Area: packages/core-utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants