Move updater metadata to Cargo.toml of parity-version. (#7832)

This commit is contained in:
Tomasz Drwięga
2018-02-08 12:38:56 +01:00
committed by Afri Schoedon
parent a487182e92
commit a59f6d9bd2
15 changed files with 61 additions and 107 deletions

View File

@@ -28,7 +28,6 @@ use ethjson;
use header::Header;
use client::EngineClient;
use machine::{AuxiliaryData, Call, EthereumMachine};
use semantic_version::SemanticVersion;
use super::signer::EngineSigner;
use super::validator_set::{ValidatorSet, SimpleList, new_validator_set};
@@ -94,7 +93,6 @@ impl BasicAuthority {
impl Engine<EthereumMachine> for BasicAuthority {
fn name(&self) -> &str { "BasicAuthority" }
fn version(&self) -> SemanticVersion { SemanticVersion::new(1, 0, 0) }
fn machine(&self) -> &EthereumMachine { &self.machine }
@@ -217,7 +215,6 @@ mod tests {
fn has_valid_metadata() {
let engine = new_test_authority().engine;
assert!(!engine.name().is_empty());
assert!(engine.version().major >= 1);
}
#[test]