q9f / eth.rb

a straightforward library to build, sign, and broadcast ethereum transactions anywhere you can run ruby.
https://q9f.github.io/eth.rb
Apache License 2.0
196 stars 85 forks source link

eth/tx: update tx initcode cost for shanghai #237

Closed q9f closed 1 year ago

q9f commented 1 year ago

implements metered initcode as per https://eips.ethereum.org/EIPS/eip-3860

codecov-commenter commented 1 year ago

Codecov Report

Merging #237 (913cc24) into main (041aa92) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main     #237   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files          77       77           
  Lines        4430     4436    +6     
=======================================
+ Hits         4415     4421    +6     
  Misses         15       15           
Impacted Files Coverage Δ
lib/eth/client.rb 100.00% <100.00%> (ø)
lib/eth/tx.rb 99.10% <100.00%> (+0.02%) :arrow_up:
spec/eth/tx/eip2930_spec.rb 100.00% <100.00%> (ø)
spec/eth/tx/legacy_spec.rb 100.00% <100.00%> (ø)
spec/eth/tx_spec.rb 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more