Questions tagged [fork]
The fork tag has no usage guidance.
11 questions
3
votes
2
answers
152
views
How to do a hard fork and go to a previous block on the chain?
Seems that I cannot find anything that explains how to do hard forks and revert the chain to previous block/state.
3
votes
1
answer
92
views
Offchain indexing storage overwrites during forks
We are using offchain indexing to store some value that will be read in offchain worker .
The keys that we are using to store data via offchain indexing is as following:
key = some_prefix + ...
1
vote
1
answer
27
views
What is a concrete use case for cumulus's ability to return custom head data
This question is about cumulus PR https://github.com/paritytech/cumulus/pull/825. What is an example of when I would want to use custom head data.
The PR description itself says:
This can be for ...
2
votes
1
answer
111
views
How can we start the solo chain with existing chain data?
I got this issue in my prod chain
How can we restart the chain if it becomes stuck during data migration?
I am not able to start the chain. Is there any way to start the chain with existing database.
0
votes
0
answers
64
views
Storage Migration failed even after we tested with fork-off
We have a live testnet chain where we planned a runtime upgrade (RU). Before performing RU in the live chain we performed fork-off of that chain to get all the states same as it is and started a local ...
3
votes
1
answer
158
views
Fork Chain using fork-off-substrate?
I'm trying to fork my chain using fork-off-substrate but when running the new chain using the genesis file i.e fork.json is does not produceor finalize the blocks. How can I solve this or what is the ...
4
votes
0
answers
95
views
How does primary slots and secondary vrf slots work?
I am struggling to understand some behaviour on a custom 7 validators solochain.
Currently using babe with a 1/4 primary slots probability, the block time is 20 sec, and we have ...
2
votes
0
answers
61
views
How do I use the Forks feature of the `ChainSpecExtension`?
I've read the rustdocs about ChainSpecExtensions. For example https://paritytech.github.io/substrate/master/sc_service/trait.ChainSpecExtension.html and also several related pages that you can find by ...
2
votes
1
answer
112
views
fork-off-substrate dying at 37% with rpc max size disconnect
I'm trying to get fork-off to work with a pair of custom types(https://github.com/hicommonwealth/edgeware-node-types) and I am getting fork-off-substrate to work with a WS socket instead of a HTTP RPC ...
2
votes
1
answer
114
views
How to selectively populate state from a snapshot of one chain onto another?
Goal
To use a full snapshot at some block height of one chain and selectively pull in select parts of this state.
Use cases
Migrating state from another chain. Example:
A snapshot of only assets ...
2
votes
1
answer
128
views
Forked Parity pallet, didn't migrate storage, deployed to chain. How to clear original storage from the live chain?
We started a chain using pallet_collator_selection and later forked it.
Both the original and the forked pallet use the LastAuthoredBlock StorageItem.
We did not execute a storage migration from the ...