52 releases (32 breaking)

0.40.1 Sep 25, 2024
0.40.0 Jul 18, 2024
0.39.0 Jun 21, 2024
0.35.0 Mar 18, 2024
0.8.0-alpha.5 Mar 24, 2020

#25 in #substrate

Download history 2490/week @ 2024-07-25 2668/week @ 2024-08-01 3539/week @ 2024-08-08 3563/week @ 2024-08-15 3837/week @ 2024-08-22 2671/week @ 2024-08-29 2727/week @ 2024-09-05 7305/week @ 2024-09-12 29134/week @ 2024-09-19 28018/week @ 2024-09-26 34876/week @ 2024-10-03 32864/week @ 2024-10-10 34970/week @ 2024-10-17 34821/week @ 2024-10-24 36911/week @ 2024-10-31 41284/week @ 2024-11-07

156,067 downloads per month
Used in 176 crates (23 directly)

GPL-3.0-or-later…

2.5MB
19K SLoC

Rust 17K SLoC // 0.1% comments WebAssembly 2.5K SLoC // 0.0% comments Shell 9 SLoC

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

License: GPL-3.0-or-later WITH Classpath-exception-2.0

Release

Polkadot SDK stable2409


lib.rs:

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

Dependencies

~42–57MB
~1M SLoC