mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 09:17:58 +00:00
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:
committed by
Bastian Köcher
parent
0f3363d681
commit
7e3b2d464a
@@ -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
|
||||
|
||||
@@ -292,6 +292,7 @@ macro_rules! __decl_generic_event {
|
||||
)*
|
||||
$(
|
||||
#[doc(hidden)]
|
||||
#[codec(skip)]
|
||||
PhantomData($crate::rstd::marker::PhantomData<$instance>),
|
||||
)?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user