skip phantom for decl_event (#2158)

* use parity-codec-derive from parity-codec everywhere

* codec v3.2 -> v3.3

* skip phantom when deriving event

* fix decl_module call

* update impl version of node + builds
This commit is contained in:
thiolliere
2019-04-02 12:04:23 +02:00
committed by Bastian Köcher
parent 0f3363d681
commit 7e3b2d464a
59 changed files with 221 additions and 254 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ macro_rules! decl_module {
fn offchain_worker($($param_name:ident : $param:ty),* ) { $( $impl:tt )* }
$($rest:tt)*
) => {
decl_module!(@normalize
$crate::decl_module!(@normalize
$(#[$attr])*
pub struct $mod_type<$trait_instance: $trait_name>
for enum $call_type where origin: $origin_type, system = $system
+1
View File
@@ -292,6 +292,7 @@ macro_rules! __decl_generic_event {
)*
$(
#[doc(hidden)]
#[codec(skip)]
PhantomData($crate::rstd::marker::PhantomData<$instance>),
)?
}