Skip to content

Block nonce is 8 bytes #229

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

Merged
merged 1 commit into from
Jun 21, 2022
Merged

Block nonce is 8 bytes #229

merged 1 commit into from
Jun 21, 2022

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Jun 6, 2022

The original non-formal spec set the size of the block nonce to 8 bytes.
This PR updates the block nonce (and only the block nonce) to require an
8 byte value.

Signed-off-by: Danno Ferrin [email protected]

The original non-formal spec set the size of the block nonce to 8 bytes.
This PR updates the block nonce (and only the block nonce) to require an
8 byte value.

Signed-off-by: Danno Ferrin <[email protected]>
@shemnon
Copy link
Contributor Author

shemnon commented Jun 6, 2022

I have a report that Geth expects at least an even number of bytes, possibly exactly 8 bytes/16 hex digits. - https://github.com/hashgraph/hedera-json-rpc-relay/issues/149

@rafaelkallis
Copy link
Contributor

ping @lightclient similar anomaly here as in #240

go-ethereum expects 8 bytes https://github.com/ethereum/go-ethereum/blob/master/core/types/block.go#L42

@lightclient lightclient merged commit 1f3d315 into ethereum:main Jun 21, 2022
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 this pull request may close these issues.

3 participants