62 releases (37 major breaking)

39.0.2 Oct 9, 2024
39.0.0 Jul 18, 2024
38.0.1 Jul 18, 2024
37.0.0 May 23, 2024
2.0.0-alpha.5 Mar 24, 2020

#1 in #extrinsic

Download history 9205/week @ 2024-07-24 9836/week @ 2024-07-31 10692/week @ 2024-08-07 9932/week @ 2024-08-14 10673/week @ 2024-08-21 8615/week @ 2024-08-28 8456/week @ 2024-09-04 14771/week @ 2024-09-11 83785/week @ 2024-09-18 79052/week @ 2024-09-25 103134/week @ 2024-10-02 96185/week @ 2024-10-09 108650/week @ 2024-10-16 99688/week @ 2024-10-23 105079/week @ 2024-10-30 107487/week @ 2024-11-06

439,181 downloads per month
Used in 716 crates (534 directly)

Apache-2.0

1MB
20K SLoC

Runtime Modules shared primitive types.

License: Apache-2.0

Release

polkadot v1.15.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–28MB
~444K SLoC