validators -> authorities
This commit is contained in:
parent
a03db2ff29
commit
64d7bcbd0c
@ -4,7 +4,7 @@
|
||||
"Tendermint": {
|
||||
"params": {
|
||||
"gasLimitBoundDivisor": "0x0400",
|
||||
"validators" : [
|
||||
"authorities" : [
|
||||
"0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e",
|
||||
"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1"
|
||||
]
|
||||
|
@ -279,7 +279,7 @@ impl Spec {
|
||||
}
|
||||
|
||||
/// Create a new Spec with Tendermint consensus which does internal sealing (not requiring work).
|
||||
/// Account "0".sha3() and "1".sha3() are a validators.
|
||||
/// Account "0".sha3() and "1".sha3() are a authorities.
|
||||
pub fn new_test_tendermint() -> Self {
|
||||
Spec::load(include_bytes!("../../res/tendermint.json") as &[u8]).expect("tendermint.json is invalid")
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ pub struct TendermintParams {
|
||||
#[serde(rename="gasLimitBoundDivisor")]
|
||||
pub gas_limit_bound_divisor: Uint,
|
||||
/// Valid authorities
|
||||
pub validators: Vec<Address>,
|
||||
pub authorities: Vec<Address>,
|
||||
}
|
||||
|
||||
/// Tendermint engine deserialization.
|
||||
@ -46,7 +46,7 @@ mod tests {
|
||||
let s = r#"{
|
||||
"params": {
|
||||
"gasLimitBoundDivisor": "0x0400",
|
||||
"validators" : ["0xc6d9d2cd449a754c494264e1809c50e34d64562b"]
|
||||
"authorities" : ["0xc6d9d2cd449a754c494264e1809c50e34d64562b"]
|
||||
}
|
||||
}"#;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user