-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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
Invalid PoW verification resulted in an Orphan block on Ethereum Mainnet #21929
Comments
There was an ethash DAG bugfix included in 1.9.24 #21793. Based on the code I was convinced that it can only trigger in January, but perhaps I missed something? Could you check if it reproduces with 1.9.24? |
One odd thing in your logs is |
Thank you for the reply, @karalabe. That DAG generation bug should affect epochs only higher than 385. The block's epoch was 378, and I don't think that that bug affected the DAG generation at all. And about the permission denied error: we use a very strict security policy on running containers. Only the datadir volume was writeable by the Also, the bug that caused the wrong PoW was never seen before and after the orphan block. I see that we were very "lucky" to catch that bug. |
|
It's verified that the submission is valid. The difficulty can be recovered is 4567006823027140. |
Closing this, seems stale and a one-off event |
Yesterday, we caught a very odd orphan block. This work package was submitted via
eth_submitWork
RPC method:Besides validating this PoW solution using our software, I manually checked the work by passing it to the
github.com/ethereum/ethash
library andgithub.com/ethereum/go-ethereum/consensus/ethash
module (with checking the work with bothhashimotoLight
andhashimotoFull
functions). All of them marked the work package above as valid, having the actual difficulty of 4.5 PH. This should have been a block; however, Geth rejected the work package while printing these logs:System information
Geth version: 1.9.23-stable (via docker image
ethereum/client-go
)OS & Version: Linux x86_64
Commit hash: 8c2f271
Linked issues
#21928 (Caught on a different host, but that issue may be related to this one)
The text was updated successfully, but these errors were encountered: