mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Governance: Voters put money where mouth is (#1183)
* Referendums only gett enacted after a delay; successful voters must lock funds up until enactment. * Build fixes. * Configurable council enact delay, fix test builds. * Fix spelling * Remove TODO
This commit is contained in:
@@ -63,13 +63,8 @@ use runtime_support::storage::unhashed::StorageVec;
|
||||
use primitives::traits::{CurrentHeight, Convert};
|
||||
use substrate_primitives::AuthorityId;
|
||||
use system::ensure_signed;
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
use primitives::traits::MaybeSerializeDebug;
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
use primitives::traits::MaybeSerializeDebugButNotDeserialize;
|
||||
|
||||
mod mock;
|
||||
mod tests;
|
||||
|
||||
@@ -128,11 +123,6 @@ pub trait Trait: system::Trait {
|
||||
type Log: From<Log<Self>> + Into<system::DigestItemOf<Self>>;
|
||||
|
||||
/// The session key type used by authorities.
|
||||
#[cfg(not(feature = "std"))]
|
||||
type SessionKey: Parameter + Default + MaybeSerializeDebugButNotDeserialize;
|
||||
|
||||
/// The session key type used by authorities.
|
||||
#[cfg(feature = "std")]
|
||||
type SessionKey: Parameter + Default + MaybeSerializeDebug;
|
||||
|
||||
/// The event type of this module.
|
||||
|
||||
Reference in New Issue
Block a user