3

It is common to want to be absolutely sure any runtime upgrades and some mission critical extrinsics will work as expected in a safe but otherwise identical environment to a production chain. Testing this locally would be ideal.

Is there a recommended way to emulate the configuration and/or the present state, for polkadot-launch for a live relay chain?

1 Answer 1

3

Fork off Relay Chain

This script allows bootstrapping a new substrate chain with the current state of a live chain. Using this, you can create a fork of Polkadot, Kusama and other substrate chain for development purposes.

Also useful:

  • xcm-emulator - the emulator that takes into account state of a target chain (simulator is now in Polkadot itself).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.