Adds ability to use default hasher in dev_mode for explicit key binding (#14164)

* Initial setup

* Minor update

* Minor update

* Addresses review comments

* Addresses review comments

* Updates doc

* ".git/.scripts/commands/fmt/fmt.sh"

* Renames file

* Updates path in test

---------

Co-authored-by: command-bot <>
This commit is contained in:
gupnikandcommand-bot authored and GitHub committed 2023-05-19 13:24:32 +00:00
1 parent 580efaec85
commit 958f4aaa38
5 files changed
+82 -12

No files matched your search

@@ -35,6 +35,15 @@ pub mod pallet {
#[pallet::storage]
type MyCountedStorageMap<T: Config> = CountedStorageMap<_, _, u32, u64>;
#[pallet::storage]
pub type MyStorageMap2<T: Config> = StorageMap<Key = u32, Value = u64>;
#[pallet::storage]
type MyStorageDoubleMap2<T: Config> = StorageDoubleMap<Key1 = u32, Key2 = u64, Value = u64>;
#[pallet::storage]
type MyCountedStorageMap2<T: Config> = CountedStorageMap<Key = u32, Value = u64>;
// Your Pallet's callable functions.
#[pallet::call]
impl<T: Config> Pallet<T> {