mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
Add missing CountedStorageMap in pallet::storage error info (#12356)
This commit is contained in:
@@ -555,8 +555,8 @@ fn process_generics(
|
||||
found => {
|
||||
let msg = format!(
|
||||
"Invalid pallet::storage, expected ident: `StorageValue` or \
|
||||
`StorageMap` or `StorageDoubleMap` or `StorageNMap` in order to expand metadata, \
|
||||
found `{}`.",
|
||||
`StorageMap` or `CountedStorageMap` or `StorageDoubleMap` or `StorageNMap` \
|
||||
in order to expand metadata, found `{}`.",
|
||||
found,
|
||||
);
|
||||
return Err(syn::Error::new(segment.ident.span(), msg))
|
||||
|
||||
Reference in New Issue
Block a user