Remove tendermint engine support (#9980)
* Remove tendermint engine support * Remove tendermint test json spec * Fix ethcore test compile * Remove tendermint test in sync
This commit is contained in:
@@ -35,7 +35,7 @@ use builtin::Builtin;
|
||||
use encoded;
|
||||
use engines::{
|
||||
EthEngine, NullEngine, InstantSeal, InstantSealParams, BasicAuthority,
|
||||
AuthorityRound, Tendermint, DEFAULT_BLOCKHASH_CONTRACT
|
||||
AuthorityRound, DEFAULT_BLOCKHASH_CONTRACT
|
||||
};
|
||||
use error::Error;
|
||||
use executive::Executive;
|
||||
@@ -607,8 +607,6 @@ impl Spec {
|
||||
ethjson::spec::Engine::BasicAuthority(basic_authority) => Arc::new(BasicAuthority::new(basic_authority.params.into(), machine)),
|
||||
ethjson::spec::Engine::AuthorityRound(authority_round) => AuthorityRound::new(authority_round.params.into(), machine)
|
||||
.expect("Failed to start AuthorityRound consensus engine."),
|
||||
ethjson::spec::Engine::Tendermint(tendermint) => Tendermint::new(tendermint.params.into(), machine)
|
||||
.expect("Failed to start the Tendermint consensus engine."),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -955,14 +953,6 @@ impl Spec {
|
||||
load_bundled!("authority_round_block_reward_contract")
|
||||
}
|
||||
|
||||
/// Create a new Spec with Tendermint consensus which does internal sealing (not requiring
|
||||
/// work).
|
||||
/// Account keccak("0") and keccak("1") are a authorities.
|
||||
#[cfg(any(test, feature = "test-helpers"))]
|
||||
pub fn new_test_tendermint() -> Self {
|
||||
load_bundled!("tendermint")
|
||||
}
|
||||
|
||||
/// TestList.sol used in both specs: https://github.com/paritytech/contracts/pull/30/files
|
||||
/// Accounts with secrets keccak("0") and keccak("1") are initially the validators.
|
||||
/// Create a new Spec with BasicAuthority which uses a contract at address 5 to determine
|
||||
|
||||
Reference in New Issue
Block a user