This repository was archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
Parity crashes with sample Tendermint chain spec #7727
Copy link
Copy link
Closed
Labels
F1-panic 🔨The client panics and exits without proper error handling.The client panics and exits without proper error handling.M4-core ⛓Core client code / Rust.Core client code / Rust.P5-sometimesoon 🌲Issue is worth doing soon.Issue is worth doing soon.
Milestone
Description
Parity crashes reproducibly when run with the tendermint chain spec in ethcore/res/tendermint.json (only network name changed and the 2 validator addresses replaced).
See attached logs of the 2 nodes (trace for engine enabled):
validator1.log
validator2.log
Probably relevant: force_sealing = true is set in the node config files.
Meanwhile, tests succeeds without error:
$ cargo test --package ethcore -- engines::tendermint
Finished dev [unoptimized + debuginfo] target(s) in 0.1 secs
Running target/debug/deps/ethcore-669d99ba57f879fe
running 15 tests
test engines::tendermint::message::tests::encode_step ... ok
test engines::tendermint::message::tests::encode_decode ... ok
test engines::tendermint::message::tests::proposal_message ... ok
test engines::tendermint::message::tests::step_ordering ... ok
test engines::tendermint::message::tests::generate_and_verify ... ok
test engines::tendermint::tests::can_return_schedule ... ok
test engines::tendermint::tests::can_generate_seal ... ok
test engines::tendermint::tests::can_recognize_proposal ... ok
test engines::tendermint::tests::has_valid_metadata ... ok
test engines::tendermint::tests::allows_correct_proposer ... ok
test engines::tendermint::tests::relays_messages ... ok
test engines::tendermint::tests::verification_fails_on_short_seal ... ok
test engines::tendermint::tests::seal_signatures_checking ... ok
test engines::tendermint::tests::epoch_verifier_verify_light ... ok
test engines::tendermint::tests::seal_submission ... ok
test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 296 filtered out
Doc-tests ethcore
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out
Parity/v1.10.0-unstable-048ff40-20180116/x86_64-linux-gnu/rustc1.25.0-nightly
Ubuntu 16.04
Compiled from source
The issue remains when compiling with the stable rust toolchain or when running a binary release of Parity.
Metadata
Metadata
Assignees
Labels
F1-panic 🔨The client panics and exits without proper error handling.The client panics and exits without proper error handling.M4-core ⛓Core client code / Rust.Core client code / Rust.P5-sometimesoon 🌲Issue is worth doing soon.Issue is worth doing soon.