ethereum-optimism / optimistic-specs

Optimistic: Bedrock, is a protocol that strives to be an extremely simple optimistic rollup that maintains 1:1 compatibility with Ethereum
MIT License
168 stars 36 forks source link

contracts: import messengers #393

Closed tynes closed 2 years ago

tynes commented 2 years ago

Description Imports the cross domain messengers and standard bridges in a backwards compatible way. We should be able to upgrade to Bedrock with this code if we are careful. We still need to determine which contracts go behind proxies and add in the proxies to the tests.

A big change is that there is no OVM_ETH. Currently, all ETH is represented as ERC20 tokens but with the migration to Bedrock the ETH will become actual ETH.

codecov-commenter commented 2 years ago

Codecov Report

Merging #393 (03378da) into main (b93465a) will increase coverage by 0.61%. The diff coverage is 87.80%.

@@            Coverage Diff             @@
##             main     #393      +/-   ##
==========================================
+ Coverage   39.09%   39.70%   +0.61%     
==========================================
  Files          50       50              
  Lines        6282     6301      +19     
==========================================
+ Hits         2456     2502      +46     
+ Misses       3526     3491      -35     
- Partials      300      308       +8     
Impacted Files Coverage Δ
opnode/rollup/derive/invert.go 81.81% <83.33%> (-18.19%) :arrow_down:
opnode/rollup/derive/payload_attributes.go 78.20% <100.00%> (ø)
opnode/rollup/driver/step.go 62.37% <100.00%> (ø)
opnode/rollup/driver/state.go 77.69% <0.00%> (-0.39%) :arrow_down:
opnode/contracts/l1block/l1_block_info_raw.go 25.95% <0.00%> (+25.95%) :arrow_up:

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 31d9a92...03378da. Read the comment docs.