Skip to content

Fix Tendermint bug that requires state exports to have two nodes #735

Closed
@ValarDragon

Description

Whenever we make a state export based testnet, we need at least two nodes to be peered in order for a node to start. This is a massive overhead in running state export based testnets. We have isolated where the bug is, have not figured out yet what is the abstraction preserving fix.

We wait for this to get called in testnet: https://github.com/tendermint/tendermint/blob/v0.34.14/blockchain/v0/reactor.go#L321-L322 (This is the message we see once we get our peer and move to actually starting the nodes)
If we look into pool.IsCaughtUp, it just waits for one peer. https://github.com/tendermint/tendermint/blob/master/internal/blocksync/pool.go#L199-L212

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions