Skip to content

Commit

Permalink
e2e: light nodes should use builtin abci app (#7095)
Browse files Browse the repository at this point in the history
(cherry picked from commit befd669)
  • Loading branch information
tychoish authored and mergify-bot committed Oct 9, 2021
1 parent af85f7e commit 8bd1cd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/pkg/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8bd1cd2

Please sign in to comment.