Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use JsonU256 for deserializing genesis U256s #2291

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Apr 18, 2023

This uses the JsonU256 deserializer for deserializing each genesis U256, fixing decimal string U256 edge cases like those in gakonst/ethers-rs#2359 for reth's primitive types.

@Rjected Rjected added C-bug An unexpected or incorrect behavior A-utils Related to commonly used utilities labels Apr 18, 2023
@Rjected Rjected requested a review from gakonst as a code owner April 18, 2023 01:04
@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2023

Codecov Report

Merging #2291 (24e38ca) into main (2f61836) will decrease coverage by 0.02%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main    #2291      +/-   ##
==========================================
- Coverage   72.16%   72.14%   -0.02%     
==========================================
  Files         472      472              
  Lines       57083    57083              
==========================================
- Hits        41195    41184      -11     
- Misses      15888    15899      +11     
Flag Coverage Δ
integration-tests 19.15% <ø> (ø)
unit-tests 66.82% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
crates/primitives/src/genesis.rs 96.77% <ø> (ø)

... and 8 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Rjected Rjected merged commit eb0f7eb into main Apr 18, 2023
@Rjected Rjected deleted the dan/use-json-u256-deser-for-genesis branch April 18, 2023 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-utils Related to commonly used utilities C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants