Crate bp_header_chain

source ·
Expand description

Defines traits which represent a common interface for Substrate pallets which want to incorporate bridge functionality.

Modules§

Structs§

Enums§

Traits§

Functions§

  • Returns maximal expected size of submit_finality_proof call arguments.
  • Checks whether the given header and its finality proof fit the maximal expected call limits (size and weight). The submission may be refunded sometimes (see pallet configuration for details), but it should fit some limits. If the call has some extra weight and/or size included, though, we won’t refund it or refund will be partial.

Type Aliases§