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
167 stars 35 forks source link

Add state surgery package #430

Closed mslipper closed 2 years ago

mslipper commented 2 years ago

Copies OVM ETH into state. See README.md for more info on how this works.

Meta:

codecov-commenter commented 2 years ago

Codecov Report

Merging #430 (ab8063f) into main (a087de8) will increase coverage by 3.16%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
+ Coverage   50.06%   53.23%   +3.16%     
==========================================
  Files          51       62      +11     
  Lines        5151     6481    +1330     
==========================================
+ Hits         2579     3450     +871     
- Misses       2240     2592     +352     
- Partials      332      439     +107     
Impacted Files Coverage Δ
opnode/internal/testlog/testlog.go 58.46% <0.00%> (-9.24%) :arrow_down:
opnode/rollup/driver/state.go 71.23% <0.00%> (-6.55%) :arrow_down:
l2os/l2_output_submitter.go 48.22% <0.00%> (-5.32%) :arrow_down:
opnode/node/node.go 60.00% <0.00%> (-4.25%) :arrow_down:
opnode/rollup/driver/step.go 61.37% <0.00%> (-3.13%) :arrow_down:
opnode/p2p/config.go 7.83% <0.00%> (-0.18%) :arrow_down:
l2os/config.go 0.00% <0.00%> (ø)
opnode/service.go 0.00% <0.00%> (ø)
opnode/eth/heads.go 69.56% <0.00%> (ø)
opnode/node/config.go 33.33% <0.00%> (ø)
... and 28 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 a087de8...ab8063f. Read the comment docs.

maurelian commented 2 years ago

This should be closed and moved to the monorepo if it hasn't already right?

trianglesphere commented 2 years ago

Closing in favor of https://github.com/ethereum-optimism/optimism/pull/2655