#substrate #integration-tests #polkadot-sdk #e2e-tests

no-std sc-simnode

Simnode is an e2e integration testing environment for substrate-based blockchains

9 stable releases

new 16.0.0 Dec 19, 2024
1.16.0 Nov 14, 2024
1.15.0 Aug 9, 2024
1.9.0 May 15, 2024
1.6.2 Apr 30, 2024

#3 in #polkadot-sdk

Download history 22/week @ 2024-08-26 21/week @ 2024-09-09 51/week @ 2024-09-16 35/week @ 2024-09-23 42/week @ 2024-09-30 66/week @ 2024-10-07 29/week @ 2024-10-14 21/week @ 2024-10-21 19/week @ 2024-10-28 9/week @ 2024-11-04 121/week @ 2024-11-11 39/week @ 2024-11-18 3/week @ 2024-11-25 14/week @ 2024-12-02 44/week @ 2024-12-09

106 downloads per month

Apache-2.0 and GPL-3.0-or-later…

66KB
1K SLoC

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.

Dependencies

~125–170MB
~3M SLoC