You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
A legacy data structure should be stored in another module as following, such that the migration can be performed.
mod migration {usesuper::*;#[frame_support::pallet]pubmod v1 {#[pallet::storage]pubtypeNumber<T> = StorageValue<_,u64>;}}
However, the #[pallet::config] or possible more things are asked while compiling.
This is a bug to keep both version of data structure at the same time. Also this will be an issue for data migration with the storage described with#[pallet::storage].
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
Base on the documentation to migration list as following,
A legacy data structure should be stored in another module as following, such that the migration can be performed.
However, the
#[pallet::config]
or possible more things are asked while compiling.This is a bug to keep both version of data structure at the same time. Also this will be an issue for data migration with the storage described with
#[pallet::storage]
.Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: