mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 15:39:49 +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:
1 parent
ee726ed55d
commit
c48b460b2e
3 files changed
+27
-21
No files matched your search
@@ -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