Expand description
Module with configuration which reflects BridgeHubWestend runtime setup (AccountId, Headers, Hashes…)
Structs§
- Account
Info Storage MapKey Provider - Provides a storage key for account data.
- Block
Execution Weight - Importing a block with 0 Extrinsics.
- Block
Length - Size limit of the Cumulus-based bridge hub blocks.
- Block
Weights - Weight limit of the Cumulus-based bridge hub blocks.
- Block
Weights ForAsync Backing - Weight limit of the Cumulus-based bridge hub blocks when async backing is enabled.
- Bridge
HubWestend - BridgeHubWestend parachain.
- Bridge
HubWestend Base Confirmation FeeIn Wnds - Transaction fee that is paid at the Westend BridgeHub for delivering single outbound message confirmation.
(initially was calculated by test
BridgeHubWestend::can_calculate_fee_for_standalone_message_confirmation_transaction
+33%
) - Bridge
HubWestend Base Delivery FeeIn Wnds - Transaction fee that is paid at the Westend BridgeHub for delivering single inbound message.
(initially was calculated by test
BridgeHubWestend::can_calculate_fee_for_standalone_message_delivery_transaction
+33%
) - Bridge
HubWestend Base XcmFee InWnds - The XCM fee that is paid for executing XCM program (with
ExportMessage
instruction) at the Westend BridgeHub. (initially was calculated by testBridgeHubWestend::can_calculate_weight_for_paid_export_message_with_reserve_transfer
+33%
) - Extrinsic
Base Weight - Executing a NO-OP
System::remarks
Extrinsic. - Perbill
- A fixed point representation of a number in the range [0, 1].
Enums§
- Runtime
Call - Wrapper over
BridgeHubWestend
’sRuntimeCall
that can be used without a runtime.
Constants§
- AVERAGE_
BLOCK_ INTERVAL - Average block time for Cumulus-based parachains
- AVERAGE_
ON_ INITIALIZE_ RATIO - We assume that ~5% of the block weight is consumed by
on_initialize
handlers. This is used to limit the maximal weight of a single extrinsic. - BEST_
FINALIZED_ BRIDGE_ HUB_ WESTEND_ HEADER_ METHOD - Name of the
<ThisChain>FinalityApi::best_finalized
runtime method. - BRIDGE_
HUB_ WESTEND_ PARACHAIN_ ID - Identifier of BridgeHubWestend in the Westend relay chain.
- EXTRA_
STORAGE_ PROOF_ SIZE - 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.
- FREE_
HEADERS_ INTERVAL_ FOR_ BRIDGE_ HUB_ WESTEND_ METHOD - Name of the
<ThisChain>FinalityApi::free_headers_interval
runtime method. - FROM_
BRIDGE_ HUB_ WESTEND_ MESSAGE_ DETAILS_ METHOD - Name of the
From<ThisChain>InboundLaneApi::message_details
runtime method. - MAXIMUM_
BLOCK_ WEIGHT - We allow for 0.5 seconds of compute with a 6 second average block time.
- MAXIMUM_
BLOCK_ WEIGHT_ FOR_ ASYNC_ BACKING - We allow for 2 seconds of compute with a 6 second average block.
- MAX_
ASSET_ HUB_ HEADER_ SIZE - Maximal asset hub header size.
- MAX_
BRIDGE_ HUB_ HEADER_ SIZE - Maximal bridge hub header size.
- MAX_
UNCONFIRMED_ MESSAGES_ IN_ CONFIRMATION_ TX - 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).
- MAX_
UNREWARDED_ RELAYERS_ IN_ CONFIRMATION_ TX - 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).
- NORMAL_
DISPATCH_ RATIO - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics. - SLOT_
DURATION - TO_
BRIDGE_ HUB_ WESTEND_ MESSAGE_ DETAILS_ METHOD - Name of the
To<ThisChain>OutboundLaneApi::message_details
runtime method. - TX_
EXTRA_ BYTES - Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
- WITH_
BRIDGE_ HUB_ WESTEND_ MESSAGES_ PALLET_ NAME - Name of the With-BridgeHubWestend messages pallet instance that is deployed at bridged chains.
- WITH_
BRIDGE_ HUB_ WESTEND_ RELAYERS_ PALLET_ NAME - Name of the With-BridgeHubWestend bridge-relayers pallet instance that is deployed at bridged chains.
- WITH_
BRIDGE_ WESTEND_ TO_ ROCOCO_ MESSAGES_ PALLET_ INDEX - Pallet index of
BridgeRococoMessages: pallet_bridge_messages::<Instance1>
.
Traits§
- Bridge
HubWestend Finality Api - API for querying information about the finalized chain headers.
- From
Bridge HubWestend Inbound Lane Api - Inbound message lane API for messages sent by this chain.
- ToBridge
HubWestend Outbound Lane Api - Outbound message lane API for messages that are sent to this chain.
Type Aliases§
- Account
Id - Id of account on Polkadot-like chains.
- Account
Public - Public key of account on Polkadot-like chains.
- Account
Signer - Public key of the chain account that may be used to verify signatures.
- Address
- The address format for describing accounts.
- Balance
- The balance of an account on Polkadot-like chain.
- Block
Number - Block number type used in Polkadot-like chains.
- Hash
- Hash type used in Polkadot-like chains.
- Hasher
- The type of object that can produce hashes on Polkadot-like chains.
- Hashing
- Hashing type.
- Header
- The header type used by Polkadot-like chains.
- Nonce
- Nonce of a transaction on the Polkadot-like chains.
- Signature
- Signature type used by Polkadot-like chains.
- Signed
Block - Polkadot-like block signed with a Justification.
- Transaction
Extension - Signed extension that is used by all bridge hubs.
- Unchecked
Extrinsic - Unchecked Extrinsic type.