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

feat: wip gas metering #410

Closed tynes closed 2 years ago

tynes commented 2 years ago

Description Draft PR, WIP

Metadata

Fixes: ENG-2187

codecov-commenter commented 2 years ago

Codecov Report

Merging #410 (bc4a85f) into main (cc9f5c2) will increase coverage by 6.06%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #410      +/-   ##
==========================================
+ Coverage   50.06%   56.13%   +6.06%     
==========================================
  Files          51       59       +8     
  Lines        5151     6267    +1116     
==========================================
+ Hits         2579     3518     +939     
- Misses       2240     2352     +112     
- Partials      332      397      +65     
Impacted Files Coverage Δ
l2os/config.go 0.00% <0.00%> (ø)
opnode/service.go 0.00% <0.00%> (ø)
l2os/rollupclient/rollupclient.go 100.00% <0.00%> (ø)
opnode/l2/util.go 56.06% <0.00%> (ø)
bss/config.go 0.00% <0.00%> (ø)
bss/cmd/bss/main.go 0.00% <0.00%> (ø)
bss/flags/flags.go 100.00% <0.00%> (ø)
opnode/node/bundle_builder.go 100.00% <0.00%> (ø)
bss/batch_submitter.go 50.96% <0.00%> (ø)
bss/db/history_db.go 72.72% <0.00%> (ø)
... and 13 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 cc9f5c2...bc4a85f. Read the comment docs.

tynes commented 2 years ago

This needs to be rebased on https://github.com/ethereum-optimism/optimistic-specs/pull/421