Browse Source

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

(cherry picked from commit befd669794)

Co-authored-by: Sam Kleinman <garen@tychoish.com>
pull/7101/head
mergify[bot] 3 years ago
committed by GitHub
parent
commit
22e33aba98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      test/e2e/pkg/testnet.go

+ 3
- 1
test/e2e/pkg/testnet.go 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
}


Loading…
Cancel
Save