-
Notifications
You must be signed in to change notification settings - Fork 106
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
VMState doesn't handle PoA/Clique block header difficulty field #1105
Comments
jangko
added a commit
that referenced
this issue
Jun 14, 2022
- in vmState - in txpool - in sealing engine fix #1105
jangko
added a commit
that referenced
this issue
Jun 14, 2022
- in vmState - in txpool - in sealing engine fix #1105
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
current implementation only handle PoS and PoW difficulty. PoA/Clique difficulty is not handled at all.
a call to DIFFICULTY opcode when executing clique chain will return PoW difficulty instead of Clique block header difficulty.
EVMC handle this situation better as it just copy the difficulty from block header instead of calculating it.
The text was updated successfully, but these errors were encountered: