mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
Replace config field with default value (srml/im-online) (#3388)
* Fix whitespacing * Replace configurable fields with default values * Bump version * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Fix more whitespacing * Fix style
This commit is contained in:
committed by
Bastian Köcher
parent
7b45130115
commit
7f764dbd37
@@ -35,7 +35,7 @@ use sr_primitives::traits::{BlakeTwo256, Hash, IdentityLookup};
|
||||
use sr_primitives::{Perbill, BuildStorage};
|
||||
use srml_support::{
|
||||
assert_ok, assert_err, impl_outer_dispatch, impl_outer_event, impl_outer_origin, parameter_types,
|
||||
storage::child, StorageMap, StorageValue, traits::{Currency, Get},
|
||||
storage::child, StorageMap, StorageValue, traits::{Currency, Get},
|
||||
};
|
||||
use std::cell::RefCell;
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
use primitives::offchain::{OpaqueNetworkState, StorageKind};
|
||||
use codec::{Encode, Decode};
|
||||
use sr_primitives::{
|
||||
ApplyError, traits::{Extrinsic as ExtrinsicT},
|
||||
ApplyError, traits::Extrinsic as ExtrinsicT,
|
||||
transaction_validity::{TransactionValidity, TransactionLongevity, ValidTransaction},
|
||||
};
|
||||
use rstd::prelude::*;
|
||||
@@ -174,7 +174,7 @@ decl_event!(
|
||||
decl_storage! {
|
||||
trait Store for Module<T: Trait> as ImOnline {
|
||||
/// The block number when we should gossip.
|
||||
GossipAt get(gossip_at) config(): T::BlockNumber;
|
||||
GossipAt get(gossip_at): T::BlockNumber;
|
||||
|
||||
/// The current set of keys that may issue a heartbeat.
|
||||
Keys get(keys) config(): Vec<AuthorityId>;
|
||||
|
||||
Reference in New Issue
Block a user