Update codec version to the 4.1 version (#2948)

* Update codec version to the 4.1 version

* Bump impl_version

* Update lock files

* Update codec to 4.1.1 version

* Bump impl version
This commit is contained in:
Stanislav Tkach
2019-06-26 17:26:24 +03:00
committed by Bastian Köcher
parent 4c52aec260
commit 443ad90b47
69 changed files with 425 additions and 387 deletions
@@ -30,7 +30,7 @@ use client::{
};
use grandpa::{
BlockNumberOps, Equivocation, Error as GrandpaError, round::State as RoundState,
voter, voter_set::VoterSet,
voter, voter_set::VoterSet, HistoricalVotes,
};
use runtime_primitives::generic::BlockId;
use runtime_primitives::traits::{
@@ -636,7 +636,7 @@ where
round: u64,
state: RoundState<Block::Hash, NumberFor<Block>>,
base: (Block::Hash, NumberFor<Block>),
votes: Vec<SignedMessage<Block>>,
votes: &HistoricalVotes<Block::Hash, NumberFor<Block>, Self::Signature, Self::Id>,
) -> Result<(), Self::Error> {
debug!(
target: "afg", "Voter {} completed round {} in set {}. Estimate = {:?}, Finalized in round = {:?}",
@@ -655,7 +655,7 @@ where
number: round,
state: state.clone(),
base,
votes,
votes: votes.seen().to_owned(),
}) {
let msg = "Voter completed round that is older than the last completed round.";
return Err(Error::Safety(msg.to_string()));