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

#24 in #substrate

Download history 3063/week @ 2024-08-27 2575/week @ 2024-09-03 3706/week @ 2024-09-10 21586/week @ 2024-09-17 29271/week @ 2024-09-24 33426/week @ 2024-10-01 31182/week @ 2024-10-08 36053/week @ 2024-10-15 35476/week @ 2024-10-22 31414/week @ 2024-10-29 38660/week @ 2024-11-05 54309/week @ 2024-11-12 54167/week @ 2024-11-19 54399/week @ 2024-11-26 54235/week @ 2024-12-03 46884/week @ 2024-12-10

221,157 downloads per month
Used in 179 crates (25 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

~57MB
~1M SLoC