Crate bp_bridge_hub_polkadot
source ·Expand description
Module with configuration which reflects BridgeHubPolkadot runtime setup (AccountId, Headers, Hashes…)
Structs§
- Provides a storage key for account data.
- Importing a block with 0 Extrinsics.
- Size limit of the Cumulus-based bridge hub blocks.
- Weight limit of the Cumulus-based bridge hub blocks.
- Weight limit of the Cumulus-based bridge hub blocks when async backing is enabled.
- BridgeHubPolkadot parachain.
- Executing a NO-OP
System::remarks
Extrinsic. - A fixed point representation of a number in the range [0, 1].
Constants§
- Average block interval in Cumulus-based parachains.
- All cumulus bridge hubs assume that about 5 percent of the block weight is consumed by
on_initialize
handlers. This is used to limit the maximal weight of a single extrinsic. - Name of the
<ThisChain>FinalityApi::best_finalized
runtime method. - Identifier of BridgeHubPolkadot in the Polkadot relay chain.
- Number of extra bytes (excluding size of storage value itself) of storage proof, built at Polkadot-like chain. This mostly depends on number of entries in the storage trie. Some reserve is reserved to account future chain growth.
- Name of the
From<ThisChain>InboundLaneApi::message_details
runtime method. - Maximal number of unconfirmed messages at inbound lane for Cumulus-based parachains. Note: this value is security-relevant, decreasing it should not be done without careful analysis (like the one above).
- Maximal number of unrewarded relayer entries at inbound lane for Cumulus-based parachains. Note: this value is security-relevant, decreasing it should not be done without careful analysis (like the one above).
- All cumulus bridge hubs allow normal extrinsics to fill block up to 75 percent.
- Name of the
To<ThisChain>OutboundLaneApi::message_details
runtime method. - Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
- Name of the With-BridgeHubPolkadot messages pallet instance that is deployed at bridged chains.
- Name of the With-BridgeHubPolkadot bridge-relayers pallet instance that is deployed at bridged chains.
Traits§
- API for querying information about the finalized chain headers.
- Inbound message lane API for messages sent by this chain.
- Outbound message lane API for messages that are sent to this chain.
Type Aliases§
- Id of account on Polkadot-like chains.
- Public key of account on Polkadot-like chains.
- Public key of the chain account that may be used to verify signatures.
- The address format for describing accounts.
- The balance of an account on Polkadot-like chain.
- Block number type used in Polkadot-like chains.
- Hash type used in Polkadot-like chains.
- The type of object that can produce hashes on Polkadot-like chains.
- Hashing type.
- The header type used by Polkadot-like chains.
- Nonce of a transaction on the Polkadot-like chains.
- Signature type used by Polkadot-like chains.
- Polkadot-like block signed with a Justification.
- Signed extension that is used by all bridge hubs.
- Unchecked Extrinsic type.