Simulation testing environment for polkadot-sdk based blockchains
sc-simnode


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: - [x] Test complex pallets that require a full runtime, not a mocked runtime. - [x] Test a combination of both onchain & offchain components (eg offchain workers) - [x] Fork your live chain state and execute transactions from any origin. - [x] 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:
- [x] Standalone Chain, AURA leader election, GRANDPA consensus.
- [X] Standalone Chain, BABE leader election, GRANDPA consensus.
- [X] Parachain, AURA leader election, Polkadot Consensus.
Releases
sc-simnode exclusively follows the official paritytech/polkadot-sdk umbrella crate stable releases. Therefore new versions of this crate will be published for every major version of the corresponding polkadot-sdk stable release. E.g polkadot-stable2412 is supported by the v2412.0.0 version of this crate. Subsequent stable releases will see a similar version bump in this crate.
License
This library is licensed under the Apache 2.0 License, Copyright (c) 2023 Polytope Labs.