e2e: light nodes should use builtin abci app (#7095) (#7097)

(cherry picked from commit befd669794)

Co-authored-by: Sam Kleinman <garen@tychoish.com>
This commit is contained in:
mergify[bot]
2021-10-09 00:32:53 -04:00
committed by GitHub
parent af85f7e917
commit 22e33aba98

View File

@@ -189,13 +189,15 @@ func LoadTestnet(file string) (*Testnet, error) {
QueueType: manifest.QueueType,
UseLegacyP2P: nodeManifest.UseLegacyP2P,
}
if node.StartAt == testnet.InitialHeight {
node.StartAt = 0 // normalize to 0 for initial nodes, since code expects this
}
if nodeManifest.Mode != "" {
node.Mode = Mode(nodeManifest.Mode)
}
if node.Mode == ModeLight {
node.ABCIProtocol = ProtocolBuiltin
}
if nodeManifest.Database != "" {
node.Database = nodeManifest.Database
}