60 releases (37 major breaking)

new 39.0.0 Jul 18, 2024
38.0.1 Jul 18, 2024
38.0.0 Jun 21, 2024
37.0.0 May 23, 2024
2.0.0-alpha.5 Mar 24, 2020

#1421 in Magic Beans

Download history 11350/week @ 2024-03-29 11238/week @ 2024-04-05 9300/week @ 2024-04-12 8924/week @ 2024-04-19 9655/week @ 2024-04-26 8379/week @ 2024-05-03 7946/week @ 2024-05-10 8668/week @ 2024-05-17 9389/week @ 2024-05-24 9644/week @ 2024-05-31 7658/week @ 2024-06-07 7426/week @ 2024-06-14 11316/week @ 2024-06-21 7142/week @ 2024-06-28 8606/week @ 2024-07-05 9988/week @ 2024-07-12

38,326 downloads per month
Used in 694 crates (522 directly)

Apache-2.0

1MB
20K SLoC

Runtime Modules shared primitive types.

License: Apache-2.0


lib.rs:

Substrate Runtime Primitives.

This crate, among other things, contains a large library of types and utilities that are used in the Substrate runtime, but are not particularly FRAME-oriented.

Block, Header and Extrinsics

Most notable, this crate contains some of the types and trait that enable important communication between the client and the runtime. This includes:

Runtime API Types

This crate also contains some types that are often used in conjuncture with Runtime APIs. Most notable:

  • ApplyExtrinsicResult, and DispatchOutcome, which dictate how the client and runtime communicate about the success or failure of an extrinsic.
  • transaction_validity, which dictates how the client and runtime communicate about the validity of an extrinsic while still in the transaction-queue.

Dependencies

~15–29MB
~473K SLoC