mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 00:41:03 +00:00
Contracts Rollback StorageMap hashing migration (#14661)
* Contracts Rollback StorageMap hashing migration * misc v13
This commit is contained in:
@@ -187,7 +187,7 @@ pub mod pallet {
|
||||
|
||||
/// The current storage version.
|
||||
#[cfg(not(any(test, feature = "runtime-benchmarks")))]
|
||||
const STORAGE_VERSION: StorageVersion = StorageVersion::new(12);
|
||||
const STORAGE_VERSION: StorageVersion = StorageVersion::new(13);
|
||||
|
||||
/// Hard coded storage version for running tests that depend on the current storage version.
|
||||
#[cfg(any(test, feature = "runtime-benchmarks"))]
|
||||
@@ -1022,7 +1022,7 @@ pub mod pallet {
|
||||
/// TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||
#[pallet::storage]
|
||||
pub(crate) type ContractInfoOf<T: Config> =
|
||||
StorageMap<_, Identity, T::AccountId, ContractInfo<T>>;
|
||||
StorageMap<_, Twox64Concat, T::AccountId, ContractInfo<T>>;
|
||||
|
||||
/// Evicted contracts that await child trie deletion.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user