This commit is contained in:
Drew Stone 2018-11-28 20:51:07 +02:00
parent 6df8ab4cf9
commit d768b656d4
2 changed files with 2 additions and 1 deletions

View File

@ -276,7 +276,7 @@ decl_storage! {
pub BlockHeaders get(block_headers): map T::Hash => Vec<T::Hash>;
/// The active set of bridge authorities who can sign off on requests
pub Authorities get(authorities): Vec<T::AccountId>;
pub Authorities get(authorities) config(): Vec<T::AccountId>;
/// Mappings of stake per active authority
pub AuthorityStake get(authority_stake): map T::AccountId => T::Balance;
/// Total stake managed by the bridge authorities

View File

@ -58,6 +58,7 @@ use bridge::{Module, Trait, RawEvent};
#[cfg(test)]
mod tests {
use super::*;
use grandpa::RawLog;
use primitives::{H256, Blake2Hasher};
use runtime_primitives::{BuildStorage};