-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Darwinia Spec 1101 #693
Darwinia Spec 1101 #693
Conversation
use frame_support::migration; | ||
|
||
log::info!("Moving storage `DarwiniaEthereumBacking` to `EthereumBacking`"); | ||
migration::move_pallet(b"DarwiniaEthereumBacking", b"EthereumBacking"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this name available?
|
Yes, it conforms to the name convention of docker images. |
Where can I specify the name? In |
Just create a tag named |
Great, I'll create a tag named |
If between 1100 and 1101, some one send transaction and write some storage in the same value or map key, will the migrate overwrite. Will it abort due to there are already exist? |
Try Runtime Click to expand!
|
Yes. It will be overwritten. But I didn't find any extrinsic could execute successfully. Except |
* add logs * update crates version * update runtime version * merge `CHANGELOG` from #693 * update `CHANGELOG`
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.31. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.30...1.0.31) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Migrate
DarwiniaEthereumBacking
toEthereumBacking
Created from VS Code using CodeStream