-
Notifications
You must be signed in to change notification settings - Fork 838
Client: Geth genesis parser minor fix #1720
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
Conversation
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.
Great PR, one comment.
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Please let Ryan have a look on this as well before merging, I guess he has got some insight here on the original implementation. |
| params.genesis.hash, | ||
| '0x3b8fb240d288781d4aac94d3fd16809ee413bc99294a085798a589dae51ddd4a' | ||
| ) | ||
| t.equals(params.genesis.baseFeePerGas, json.baseFeePerGas) |
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.
👍
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.
Thanks, looks perfect!
We had a logic where if the london block was zero and the
baseFeePerGasundefined, we would set thebaseFeePerGasto1000000000, otherwise, it would be undefined, this would not allow us to set thebaseFeePerGason the genesis initialization when parsing it with geth format. Now this logic has been moved to the block package (It was done by Ryan a few weeks ago)