mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-20 22:26:15 +00:00
allow e2e to work for out of process app
This commit is contained in:
@@ -96,6 +96,8 @@ type ManifestNode struct {
|
||||
// This defaults to v0.
|
||||
Mempool string `toml:"mempool_version"`
|
||||
|
||||
ABCIProtocol string `toml:"abci_protocol"`
|
||||
|
||||
// StateSync enables state sync. The runner automatically configures trusted
|
||||
// block hashes and RPC servers. At least one node in the network must have
|
||||
// SnapshotInterval set to non-zero, and the state syncing node must have
|
||||
|
||||
@@ -145,6 +145,10 @@ func LoadTestnet(file string) (*Testnet, error) {
|
||||
|
||||
for _, name := range nodeNames {
|
||||
nodeManifest := manifest.Nodes[name]
|
||||
abciProtocol := "builtin"
|
||||
if nodeManifest.ABCIProtocol != "" {
|
||||
abciProtocol = nodeManifest.ABCIProtocol
|
||||
}
|
||||
node := &Node{
|
||||
Name: name,
|
||||
Testnet: testnet,
|
||||
@@ -154,7 +158,7 @@ func LoadTestnet(file string) (*Testnet, error) {
|
||||
ProxyPort: proxyPortGen.Next(),
|
||||
Mode: ModeValidator,
|
||||
Database: "goleveldb",
|
||||
ABCIProtocol: Protocol(testnet.ABCIProtocol),
|
||||
ABCIProtocol: Protocol(abciProtocol),
|
||||
PrivvalProtocol: ProtocolFile,
|
||||
StartAt: nodeManifest.StartAt,
|
||||
FastSync: nodeManifest.FastSync,
|
||||
|
||||
Reference in New Issue
Block a user