Add missing CountedStorageMap in pallet::storage error info (#12356)

This commit is contained in:
Liu-Cheng Xu authored and GitHub committed 2022-09-27 20:14:01 +00:00
1 parent 1f687256fb
commit 9d41de645f
2 files changed
+3 -3

No files matched your search

@@ -1,4 +1,4 @@
error: Invalid pallet::storage, expected ident: `StorageValue` or `StorageMap` or `StorageDoubleMap` or `StorageNMap` in order to expand metadata, found `u8`.
error: Invalid pallet::storage, expected ident: `StorageValue` or `StorageMap` or `CountedStorageMap` or `StorageDoubleMap` or `StorageNMap` in order to expand metadata, found `u8`.
--> $DIR/storage_not_storage_type.rs:19:16
|
19 | type Foo<T> = u8;