Skip to content

Fork your substrate-based blockchain state and run all kinds of simulation tests on the runtime.

License

Notifications You must be signed in to change notification settings

polytope-labs/sc-simnode

Repository files navigation

sc-simnode Unit Tests Telegram: YourGroup Discord: YourServer Crates.io Version

alt text

I'm trying to free your mind, Neo. But I can only show you the door. You're the one that has to walk through it.


This library exists to allow substrate developers to:

  • Test complex pallets that require a full runtime, not a mocked runtime.
  • Test a combination of both onchain & offchain components (eg offchain workers)
  • Fork your live chain state and execute transactions from any origin.
  • Simulate runtime upgrades & migrations.

Documentation

Installation and integration guides can be found in the book. Example integrations are provided for runtimes of all different kinds:

Releases

sc-simnode exclusively follows the official paritytech/polkadot-sdk stable releases. Therefore new versions of this crate will be published as a new major release for the minor version of the corresponding polkadot-sdk stable release. E.g polkadot-stable2409 corresponds to the polkadot-sdk-v1.160 tag, which is supported by the v16.0.0 version of this crate. Subsequent stable releases will see a major version bump in this crate.

License

This library is licensed under the Apache 2.0 License, Copyright (c) 2023 Polytope Labs.