-
Notifications
You must be signed in to change notification settings - Fork 77
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
Mining error: execution reverted: StorageContract: diff not match #304
Comments
The same issue is discovered with the contract on L2: #314 A possible cause is that another submission updated the difficulty/lastMinedTime in the contract after the current node retrieved mining info, but before its mining tx is executed. |
Fixed in #315 |
Integration tests still fail with this error (diff not match).
|
As commented above, this error could happen when the difficulty has been changed after a mining task starts and before it is submitted.
It is an edge case that happens only when the mining transactions are submitted too frequently on the same shard. For example, there are 7 attempts to submit mining tx in less than half a minute from 08:09:28 to 08:09:51 according to the log. |
Resolved as ethstorage/storage-contracts-v1#113 lower the frequency of mining txs. |
System information
Build date: Jul 3 2024
System version: e.g. amd64/linux
Golang version: e.g. go1.21
Commit hash : 053b1b0
Expected behaviour
Mining success
Actual behaviour
Steps to reproduce the behaviour
Backtrace
When submitting logs: please submit them as text and not screenshots.
The text was updated successfully, but these errors were encountered: