Skip to main content

Questions tagged [migration]

Related to runtime upgrades, a one time conversion of chain state.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
71 views

How to determine if a parachain runtime migration is too big?

I want to write runtime storage migration for our parachain. This time it will scan large storage maps with more than 10k entries. This may results in very large PoV block size. I'm wondering what the ...
h4x3rotab's user avatar
  • 717
4 votes
0 answers
63 views

How to migrate blockchain data from Moonbeam network to a custom Substrate-based chain?

I deployed an ERC-721(NFT) contract on Moonbeam some time ago. Now I have added the NFT pallet to our Substrate-based chain. How can I migrate the data from the Moonbeam network chain data to our ...
Pankaj's user avatar
  • 2,021
3 votes
0 answers
31 views

How to migrate / backup & restore ink smart contract storage?

Is there a way to backup ink smart contract storage and later restore on another chain? Lets say we have chain with 3 validators and deployed smart contract containing certain information in its ...
Alex 's user avatar
  • 83
3 votes
0 answers
82 views

Steps to import a parachain running in a production environment to test environment?

I am using export-state to copy a parachain running in production environment to development with all the configuration and blocks data. I am following these steps. Can any one please review the steps,...
Syed Kamran's user avatar
3 votes
1 answer
191 views

Export state of a running chain and run it as alice

Hello everyone, I'm trying to spin up a test chain(with imported real chain data) with alice(so I can start it from genesis and start producing blocks with --alice flag) and after dumping the state of ...
flipchan's user avatar
  • 369
2 votes
0 answers
73 views

How to solve Failed to get runtime version issue?

I recently upgraded the chain from version 0.9.36 to 1.0.0. Following this update, when attempting to perform a runtime upgrade on the blockchain, I encountered an error that resulted in the chain no ...
Ajit's user avatar
  • 827
2 votes
0 answers
38 views

Elections phragmen migration

I am working on Substrate-based node upgrades for solo-chain. I stick to Polkadot releases and during the upgrade from polkadot-release-v0.8.27 to polkadot-v0.8.28 I found a storage migration. This ...
Maksim Ramanenkau's user avatar
1 vote
0 answers
18 views

Potential long-range attack: block not in finalized chain. (when migrating parachain from Rococo to Paeso)

After migration from Rococo to Paseo our chain prepares block but does not suggest them, this error is only found in source on client side, any suggestions how to recover from this? 2024-04-04 21:51:...
Simson's user avatar
  • 1,201
1 vote
0 answers
61 views

move_pallet: What is correct way to verify old pallet storage is deleted

In trying to use a migration implementation for substrate which can be used to rename BagsList to VoterList, using move_pallet a post migration check is failing when testing the migration with try-...
Mokhtar Naamani's user avatar
0 votes
0 answers
25 views

What's the "checking account" in XCM and what other accounts should a parachain migrate in the pallet-balance v0 to v1 migration

The term "checking account" pops up in one or two spots in the code, in this migration for instance: https://github.com/paritytech/substrate/pull/12813. But I can't find any docs on this. ...
mkl's user avatar
  • 344