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
  • Loading branch information
tychoish committed Oct 9, 2021
1 parent 3646b63 commit befd669
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 @@ -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
}
Expand Down

0 comments on commit befd669

Please sign in to comment.