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 authored and Gav Wood committed 2018-10-01 17:50:30 +01:00
1 parent ec8dda0dd4
commit a21b2bfbb8
7 files changed
+144 -115

No files matched your search

+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,
}
}