-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):
ABCI app (name for built-in, URL for self-written if it's publicly available):
(none)
Environment:
- OS (e.g. from /etc/os-release):
- Install tools:
- Others:
(all)
What happened:
abci_protocol for each node is not set correctly. All are builtin.
ci.toml seems to set abci_protocol for each node:
tendermint/test/e2e/networks/ci.toml
Line 44 in 1a5d5ed
abci_protocol = "tcp" tendermint/test/e2e/networks/ci.toml
Line 62 in 1a5d5ed
abci_protocol = "builtin"
But, LoadTestnet never loads/sets into ABCIProtocol since it depends on Testnet.ABCIProtocol and ci.toml doesn't define abci_protocol in the section of testnet:
tendermint/test/e2e/pkg/testnet.go
Line 188 in 1a5d5ed
ABCIProtocol: Protocol(testnet.ABCIProtocol), tendermint/test/e2e/pkg/testnet.go
Line 136 in 1a5d5ed
ABCIProtocol: manifest.ABCIProtocol, tendermint/test/e2e/networks/ci.toml
Lines 4 to 10 in 1a5d5ed
ipv6 = true initial_height = 1000 evidence = 5 initial_state = { initial01 = "a", initial02 = "b", initial03 = "c" } prepare_proposal_delay = "100ms" process_proposal_delay = "100ms" check_tx_delay = "0ms"
What you expected to happen:
If abci_protocol should be set for each node, LoadTestnet function should modify.
Have you tried the latest version: yes/no
yes
How to reproduce it (as minimally and precisely as possible):
git clone git@github.com:tendermint/tendermint.git
cd tendermint/test/e2e
make runner
./build/runner -f ./networks/ci.toml setup
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
# cat ./networks/ci/validator02/config/app.toml
chain_id = "ci"
check_tx_delay = "0s"
dir = "data/app"
key_type = "ed25519"
mode = "validator"
persist_interval = 0
prepare_proposal_delay = "100ms"
privval_key = "config/priv_validator_key.json"
privval_server = "tcp://0.0.0.0:27559"
privval_state = "data/priv_validator_state.json"
process_proposal_delay = "100ms"
protocol = "builtin"
proxy_port = 5707
retain_blocks = 0
snapshot_interval = 0
sync_app = false
Config (you can paste only the changes you've made):
node command runtime flags:
Please provide the output from the http://<ip>:<port>/dump_consensus_state RPC endpoint for consensus bugs
Anything else we need to know: