Expand description
Module with configuration which reflects AssetHubWestend runtime setup.
Structs§
- Account
Info Storage MapKey Provider - Provides a storage key for account data.
- Asset
HubWestend - AssetHubWestend parachain.
- 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.
- Create
Foreign Asset Deposit - Should match the
AssetDeposit
of theForeignAssets
pallet on Asset Hub. - Extrinsic
Base Weight - Executing a NO-OP
System::remarks
Extrinsic. - Perbill
- A fixed point representation of a number in the range [0, 1].
- XcmBridge
HubRouter Transact Call MaxWeight - Some sane weight to execute
xcm::Transact(pallet-xcm-bridge-hub-router::Call::report_bridge_status)
.
Enums§
- Call
AssetHubWestend
RuntimeCall
enum.- XcmBridge
HubRouter Call - A minimized version of
pallet-xcm-bridge-hub-router::Call
that can be used without a runtime.
Constants§
- ASSET_
HUB_ WESTEND_ PARACHAIN_ ID - Identifier of AssetHubWestend in the Westend relay chain.
- AVERAGE_
BLOCK_ INTERVAL - Average block interval in Cumulus-based parachains.
- AVERAGE_
ON_ INITIALIZE_ RATIO - 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. - 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.
- 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 - All cumulus bridge hubs allow normal extrinsics to fill block up to 75 percent.
- TX_
EXTRA_ BYTES - Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
Functions§
- build_
congestion_ message - Builds an (un)congestion XCM program with the
report_bridge_status
call forToRococoXcmRouter
.
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.