You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error!(target: "client", ?err, ?block_hash, "Received an invalid block during state sync");
The spam occurs because the node receives the new blocks from the head of the chain which are too far ahead for it to validate.
Instead of validating all received blocks, we should print the error only if the node receives a block it cares about during state sync and is unable to validate it:
The following error is printed repeatedly while a node is in state sync.
nearcore/chain/client/src/client_actor.rs
Line 2068 in cdb8055
The spam occurs because the node receives the new blocks from the head of the chain which are too far ahead for it to validate.
Instead of validating all received blocks, we should print the error only if the node receives a block it cares about during state sync and is unable to validate it:
nearcore/chain/client/src/client_actor.rs
Lines 2046 to 2051 in cdb8055
The text was updated successfully, but these errors were encountered: