Skip to content

Don't start up if validator set is empty #2951

@ebuchman

Description

@ebuchman

We allow the validator set to be empty in the genesis, because it can be set by the app in InitChain.

However, if both the genesis has empty validators and InitChain returns no validators, Tendermint still tries to startup, and then panics trying to get the proposer from an empty validator set.

Instead, if the validator set is still empty after InitChain, Tendermint should log a helpful error and exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions