Remove requirement of function indices for decl_module! (#666)

This commit is contained in:
Bastian Köcher
2018-09-05 13:41:57 +02:00
committed by Gav Wood
parent be7cb74b06
commit c3e2983af3
13 changed files with 185 additions and 152 deletions
+15 -15
View File
@@ -193,26 +193,26 @@ impl_outer_dispatch! {
#[derive(Clone, PartialEq, Eq)]
#[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))]
pub enum Call where aux: <Runtime as system::Trait>::PublicAux {
Consensus = 0,
Balances = 1,
Session = 2,
Staking = 3,
Timestamp = 4,
Democracy = 5,
Council = 6,
CouncilVoting = 7,
Consensus,
Balances,
Session,
Staking,
Timestamp,
Democracy,
Council,
CouncilVoting,
}
#[derive(Clone, PartialEq, Eq)]
#[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))]
pub enum PrivCall {
Consensus = 0,
Balances = 1,
Session = 2,
Staking = 3,
Democracy = 4,
Council = 5,
CouncilVoting = 6,
Consensus,
Balances,
Session,
Staking,
Democracy,
Council,
CouncilVoting,
}
}