-
Notifications
You must be signed in to change notification settings - Fork 1
Pallet Storage Migration List #26
Comments
Storage with different structures between solo and para: (Feel free to edit)PalletBalancesAccountData System Pallet
// solo FrameSystemAccountInfo
{
pub nonce: Index,
pub consumers: RefCount,
pub providers: RefCount,
pub sufficients: RefCount,
pub data: {
pub free: Balance,
pub reserved: Balance,
pub free_kton: Balance,
pub reserved_kton: Balance,
}
}
// para FrameSystemAccountInfo
{
pub nonce: Index,
pub consumers: RefCount,
pub providers: RefCount,
pub sufficients: RefCount,
pub data: {
pub free: Balance,
pub reserved: Balance,
pub misc_frozen: Balance,
pub fee_frozen: Balance,
}
} Balances Pallet
// solo DarwiniaCommonRuntimeImplsAccountData
{
pub free: Balance,
pub reserved: Balance,
pub free_kton: Balance,
pub reserved_kton: Balance,
}
// para PalletBalancesAccountData
{
pub free: Balance,
pub reserved: Balance,
pub misc_frozen: Balance,
pub fee_frozen: Balance,
} |
Indices: pallet_indices::PalletNo changes between |
Identity: pallet_identity::PalletNo changes between |
Proxy: pallet_proxy::PalletNo changes between |
Vesting: pallet_vesting::PalletNo changes between |
TechnicalMembership: pallet_membership::::PalletNo changes between |
PhragmenElection: pallet_elections_phragmen::PalletNo changes between |
Council: pallet_collective::::Pallet And TechnicalCommittee: pallet_collective::::PalletNo changes between |
Treasury: pallet_treasury::PalletNo changes between |
Tips: pallet_tips::PalletNo changes between |
Bounties: pallet_bounties::PalletNo changes between |
Democracies: Democracy: pallet_democracy::PalletThe only storage difference between #[pallet::storage]
#[pallet::getter(fn locks)]
pub type Locks<T: Config> = StorageMap<_, Twox64Concat, T::AccountId, T::BlockNumber>; |
Society: pallet_society::PalletNo changes between |
Recovery: pallet_recovery::PalletNo changes between |
Scheduler: pallet_scheduler::PalletNo changes between |
Multisig: pallet_multisig::PalletNo changes between |
kton in account data can be removed. |
Migration needed
KtonERC20
precompileApproves
storage? #14No needed
Not sure
The text was updated successfully, but these errors were encountered: