Skip to main content
6 votes

fork-off-substrate dying at 37% with rpc max size disconnect

It looks like that fork-off-substrate was not maintained actively. You could try the subalfred. It uses WS/Rust/Async. So, it's really fast. For me, it scrapes 200k pairs in 10 seconds (in localhost). ...
AurevoirXavier's user avatar
  • 10.6k
5 votes
Accepted

Forked Parity pallet, didn't migrate storage, deployed to chain. How to clear original storage from the live chain?

You can use remove_storage_prefix: remove_storage_prefix("OldPalletNameInYourRuntime", "LastAuthoredBlock", &[]); You need to place this into a runtime migration. The last ...
bkchr's user avatar
  • 11.5k
2 votes
Accepted

Fork Chain using fork-off-substrate?

The error you mentioned above maybe coming due to the the authority node, when you are running your new nodes try to run it with --validator tag. It may solve your issue.
Shubham Gupta's user avatar
2 votes
Accepted

What is a concrete use case for cumulus's ability to return custom head data

The feature was mainly added for chains that want to migrate from a solo chain to running as a parachain. It would work the following way: They get a slot on the relay chain and have some kind of ...
bkchr's user avatar
  • 11.5k
1 vote
Accepted

Offchain indexing storage overwrites during forks

Is it a safe to assume that in case of forks for offchain indexing writes, a storage will always get overwritten by the canonical block eventually? Correct, off-chain indexing is called from on-chain ...
Daan van der Plas's user avatar
1 vote
Accepted

How can we start the solo chain with existing chain data?

For that first we need to export the state of the chain on any given blocknumber. ./target/release/chain-node export-state --chain=currentChainSpecRaw.json --base-path /Users/pcs/documents/node01 1000 ...
Pankaj's user avatar
  • 2,021
1 vote

How to do a hard fork and go to a previous block on the chain?

You can use subalfred's cl state fork-off command - it is more easy to use than fork-off-substrate.
Shubham Gupta's user avatar
1 vote
Accepted

How to selectively populate state from a snapshot of one chain onto another?

If you read the code for fork-off-substrate, you will see that it ultimately collects a list of "module prefixes", and then queries storage using that list. Right now it collects a list of ...
Shawn Tabrizi's user avatar
  • 16.1k

Only top scored, non community-wiki answers of a minimum length are eligible