Crate bp_runtime

source ·
Expand description

Primitives that may be used at (bridges) runtime level.

Re-exports§

  • pub use sp_runtime::paste;

Modules§

  • Primitives that may be used for creating signed extensions for indirect runtimes.
  • Primitives that may be used by different message delivery and dispatch mechanisms.

Macros§

  • Convenience macro that declares bridge finality runtime apis and related constants for a chain. This includes:
  • Convenience macro that declares bridge messages runtime apis and related constants for a chain. This includes:
  • Convenience macro that declares bridge finality runtime apis, bridge messages runtime apis and related constants for a chain. The name of the chain has to be specified in snake case (e.g. bridge_hub_polkadot).
  • A macro that generates StaticStrProvider with the string set to its stringified argument.

Structs§

  • A bounded runtime storage value.
  • Generic header Id.
  • Adapter for Get<u32> to access PARACHAIN_ID from trait Parachain
  • Pre-computed size.
  • This struct is used to read storage values from a subset of a Merklized database. The “proof” is a subset of the nodes in the Merkle structure of the database, so that it provides authentication against a known Merkle root as well as the values in the database themselves.
  • Error message that is only displayable in std environment.

Enums§

Constants§

  • Use this when something must be shared among all instances.

Traits§

Functions§

Type Aliases§