Browse Source

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

pull/7099/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
befd669794
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

@ -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
}


Loading…
Cancel
Save