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

This commit is contained in:
Sam Kleinman
2021-10-09 00:20:09 -04:00
committed by GitHub
parent 3646b635d3
commit befd669794

View File

@@ -187,13 +187,15 @@ func LoadTestnet(file string) (*Testnet, error) {
LogLevel: manifest.LogLevel,
QueueType: manifest.QueueType,
}
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
}