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

Validator is null for Frontier EVM networks #122

Open
dzhelezov opened this issue Sep 29, 2022 · 1 comment
Open

Validator is null for Frontier EVM networks #122

dzhelezov opened this issue Sep 29, 2022 · 1 comment
Labels
$$ ~150-300usd

Comments

@dzhelezov
Copy link
Contributor

dzhelezov commented Sep 29, 2022

Describe the bug
The block.validator field is null for networks with EVM Frontier pallet. It would be great to save the block author there.

The reason for this behavior is that the standard runtime Storage Key used for extracting the Validator info is not populated. Instead, one has to decode the ethereum_currentBlock storage key and take the header.beneficiary field:
image

@dzhelezov dzhelezov added the $$ ~150-300usd label Sep 29, 2022
@belopash
Copy link
Contributor

belopash commented Jan 24, 2023

also eth.getBlockByNumber will work
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ ~150-300usd
Projects
None yet
Development

No branches or pull requests

2 participants