-
Notifications
You must be signed in to change notification settings - Fork 122
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 Blocks after node restart (crash?) v4.0.0 #2705
Comments
Could you please help understand which snapshot was this node started from? |
No Snapshot, inPlace-Upgrade before Hardfork. |
Another Server today, crash:
Noderestart, rollback to Block #3475738:
Restart of the Node end up with inconsistent EVM-DB <-> DVM-DB Blockchaindata? |
Hi all, have another Server today aftera planned restart.
Not possible without Snapshot to geht this Node back to the chain.
|
Have you activated pruning on your nodes? As written in #2704, I think the problem could have something to do with this. |
Closing outdated / stale issues. |
Summary
Tonight 2 independent nodes crashed on the same block
(#3470797)
and after the restart both reported the valid block#3470790
(hash:71d037fbaa1e7d04254dfc49fb2816f91766c50b639d47f0f60c451397f76c0b
) as invalid and jumped back to#3470789
.The nodes then remained stuck on this block until one of the two nodes mined a new block with its own chain.
#3470790
with hashe477d9c4ca899408fc8073f686c7e9c9aa8e7444a3a9e381947ab2c7ab1f9c3f
, which the other node then also jumped to. The node recognizes that there is a longer chain, but does not jump to it even several hours later.A reconsiderblock of the invalid block does not produce an error and no output in the defi-cli, but is still displayed as invalid in the debug.log.
An invalidateblock of the incorrectly created block marks it as invalid, a reconsiderblock on the valid block that was executed before the invalidate without error output then reports:
The node can no longer switch to the correct chain.
We have the same behavior with a normal restart of the node with defi-cli stop. This is also the reason why the snapshots (all those created after the hard fork) no longer work, as they always recognize the following block as invalid.
Maybe others can also observe this behavior, these are the first findings that we noticed in the first few days after the hardfork on the mainnet. Anyone who can contribute further details, please feel free to add them.
Steps to Reproduce
Stop the node and start again after few minutes.
Environment
[Please fill all of the following or NA if not applicable]
Notecrash in the debug.log:
The text was updated successfully, but these errors were encountered: