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
+2 -2
View File
@@ -655,8 +655,8 @@ macro_rules! __decl_outer_dispatch {
;
) => {
impl_outer_dispatch!(
pub enum Call where origin: Origin {
$( $parsed_name, )*
pub enum Call for $runtime where origin: Origin {
$( $parsed_modules::$parsed_name, )*
}
);
};