Skip to content
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

consensus: restart consensus when invalid blocks are produced #1203

Closed
herr-seppia opened this issue Dec 14, 2023 · 0 comments · Fixed by #1212
Closed

consensus: restart consensus when invalid blocks are produced #1203

herr-seppia opened this issue Dec 14, 2023 · 0 comments · Fixed by #1212
Assignees

Comments

@herr-seppia
Copy link
Member

Summary

If a node produce an invalid block (that is not going to accept) the consensus need to be restarted.

2023-12-14T14:23:23.072142Z  INFO node::chain: event="block received" src="consensus" blk_height=1 blk_hash="23195d003c30f639...920771446ab4a6b0"
2023-12-14T14:23:23.072165Z  INFO node::chain::acceptor: event="verify_cert" cert_type="failed_cert" iter=0
2023-12-14T14:23:23.075847Z ERROR node::chain: event="fsm::on_event failed" src="consensus" err="invalid ratification, hash = 0000000000000000...0000000000000000, round = 1, iter = 0, seed = 0000000000000000...0000000000000000,  sv = StepVotes { bitset: 0, aggregate_signature: Signature { signature: \"0000000000000000...0000000000000000\" } }, err = Empty Apk instance"
2023-12-14T14:23:31.334391Z  WARN node::databroker: error on handling msg: no blocks found
2023-12-14T14:23:31.685477Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:23:51.687842Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:24:11.689238Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:24:31.689868Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:24:51.692526Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:25:11.695430Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:25:31.698231Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:25:51.700574Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:26:11.695490Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:26:31.685544Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:26:51.684227Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:27:11.686172Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:27:31.687978Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:27:51.690362Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0
2023-12-14T14:28:11.692116Z  INFO node::chain::fsm: event="fsm::idle" height=0 iter=0 timeout_sec=20 finalized_height=0

Possible solution design or implementation

N/A

Additional context

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants