mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
Improve pallet macro error message by deriving codec with no bound for Call enum (#8851)
* improve span for call * fix stderr file paths
This commit is contained in:
committed by
GitHub
parent
ee726ed55d
commit
c48b460b2e
@@ -89,6 +89,8 @@ pub fn expand_call(def: &mut Def) -> proc_macro2::TokenStream {
|
||||
#frame_support::codec::Encode,
|
||||
#frame_support::codec::Decode,
|
||||
)]
|
||||
#[codec(encode_bound())]
|
||||
#[codec(decode_bound())]
|
||||
#[allow(non_camel_case_types)]
|
||||
pub enum #call_ident<#type_decl_bounded_gen> #where_clause {
|
||||
#[doc(hidden)]
|
||||
|
||||
Reference in New Issue
Block a user