Some metadata cleanup and improvements (#857)

* Do not encode the `origin` parameter in the metadata

* Remove obsolete macro

* Encode outer dispatch in metadata
This commit is contained in:
Bastian Köcher
2018-10-01 18:50:30 +02:00
committed by Gav Wood
parent ec8dda0dd4
commit a21b2bfbb8
7 changed files with 144 additions and 115 deletions
+3 -3
View File
@@ -374,9 +374,9 @@ mod tests {
}
impl_outer_dispatch! {
pub enum Call where origin: Origin {
Balances,
Democracy,
pub enum Call for Test where origin: Origin {
balances::Balances,
democracy::Democracy,
}
}