mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 06:29:49 +00:00
Add missing CountedStorageMap in pallet::storage error info (#12356)
This commit is contained in:
1 parent
1f687256fb
commit
9d41de645f
2 files changed
+3
-3
No files matched your search
@@ -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