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

t8n tool testing: support --state.reward -1 #1313

Closed
winsvega opened this issue Nov 22, 2022 · 0 comments · Fixed by #1320
Closed

t8n tool testing: support --state.reward -1 #1313

winsvega opened this issue Nov 22, 2022 · 0 comments · Fixed by #1320

Comments

@winsvega
Copy link

please support

--state.reward -1
for genesis state hash calculation (to calculate given state hash without any 0, or non 0 mining rewards)

Thanks a lot lets see which tests do yo pass. but first I need this option. we recently discoverd a bug in the tests that lead to coinbase account not being present in the state with 0 reward touch. (pre EIP150) rules. but this also means that when I calculate genesis state hash, I don't need coinbase account touch on pre EIP150 rules. so -1 means just calculate the stateRootHash of the given state. which I use to process genesis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant