Skip to content

Stop generating a block if view is changed while creating the block. #1805

Closed
@majecty

Description

@majecty

The generate_seal function assumes that the generating block is generated for the current view. If the block is generated in the previous view, Tendermint crashes by an assertion in worker.rs#L1047 line.

assert!(self.is_signer_proposer(&parent_hash));

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions