-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
test: fix hive tests re: genesis smoke test #1530
Conversation
@MegaRedHand @fkrause98 can you please allow members of the repo to be pushing to your PRs?^^ |
@gakonst |
@Rjected can you please take this over so that we can get the hive genesis smoke test passing? @fkrause98 As a process point: this is part of the blocker PRs for Hive, so if you're opening it as a Draft, ideally we'd like to figure out a way to move it forward. Here it seems like it's NBD as it's just a small bug, but if you guys take on blocker issues let's try to have some more active coordination on how to not let them stagnate. |
Sounds good, I'll take this one over the line. |
Ok! And @Rjected, I've been debugging this for a bit, I've found out that the state root for this config is being returned as Leaving this for you then. |
thanks! I've figured out that we are not parsing the json correctly, the alloc storage fields are missing from the chainspec, which explains the incorrect state root |
fixed parsing here: |
working on another issue with computing the state root after fixing parsing, so there were bugs in both areas! |
1dd1691
to
79df922
Compare
ethers-rs#2205 is merged @Rjected |
79df922
to
6b3095f
Compare
@gakonst rebased and updated ethers |
Codecov Report
📣 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 #1530 +/- ##
==========================================
- Coverage 75.09% 75.09% -0.01%
==========================================
Files 372 372
Lines 43613 43695 +82
==========================================
+ Hits 32752 32813 +61
- Misses 10861 10882 +21
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
f052f45
to
05ad5b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome - thank you
Fixes #1489
Modifies the storage encoding to exit early on an empty storage map, and use
U256
instead ofH256
for encoding individual values.