-
Notifications
You must be signed in to change notification settings - Fork 791
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 parsing balance in generateCanonicalGenesis #589
Conversation
The failing test case would be fixed after ethereumjs/ethereumjs-common#66 is merged and released. |
I restarted the tests on circle, and I don't get why the tests are failing. ethereumjs/ethereumjs-common#66 was already merged and released. |
Yeah, I'm wondering too, will look into it now, thanks for restarting the tests |
Merged in master, should be fixed now |
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.
Tests are passing now. It should be ready to merge.
I like that this is being tested now :)
I merged the other PR first and this became out-dated. @alcuadrado can you re-approve after tests pass? |
Fixes #586
If balances in
ethereumjs-common
are prefixed with0x
, they'd have to be parsed as a hex string.Added test cases to ensure generating the genesis state for every chain matches the expected state root. All tests pass, expect for
kovan
. Noticed that the genesisState file for kovan is empty in ethereumjs-common.