Crate bridge_hub_rococo_runtime
source ·Expand description
§Bridge Hub Rococo Runtime
This runtime currently supports bridging between:
- Rococo <> Westend
- Rococo <> Rococo Bulletin
Modules§
- Bridge definitions that can be used by multiple BridgeHub flavors. All configurations here should be dedicated to a single chain; in other words, we don’t need two chains for a single pallet configuration.
- Bridge definitions used on BridgeHubRococo for bridging to Rococo Bulletin.
- Bridge definitions used on BridgeHubRococo for bridging to BridgeHubWestend.
Macros§
- Calls
add_benchmark
with all configs fromdefine_benchmarks
and passes the first two parameters on. - Calls
list_benchmark
with all configs fromdefine_benchmarks
and passes the first two parameters on.
Structs§
- The base fee for the message delivery fees.
- The asset ID for the asset that we use to pay for message delivery fees.
- Migration to initialize storage versions for pallets added after genesis.
- Amount of weight that can be spent per block to service messages. This was increased from 35% to 60% of the max block weight to accommodate the Ethereum beacon light client extrinsics. The force_checkpoint and submit extrinsics (for submit, optionally) includes the sync committee’s pubkeys (512 x 48 bytes)
- Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - A fixed point representation of a number in the range [0, 1].
- A fixed point representation of a number in the range [0, 1].
- Implements all runtime apis for the client side.
- The runtime origin type representing the origin of a call.
- Relay Chain
TransactionByteFee
/ 10
Enums§
- A multi-format address wrapper for on-chain accounts.
- The aggregated runtime call type.
- A reason for placing a freeze on funds.
- A reason for placing a hold on funds.
- An identifier for each lock placed on funds.
- A reason for slashing funds.
- An aggregation of all
Task
enums across all pallets included in the current runtime.
Constants§
Traits§
- Complex storage builder stuff.
Functions§
- The version information used to identify this runtime when compiled natively.
Type Aliases§
- The address format for describing accounts.
- All pallets included in the runtime as a nested tuple of types.
- All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- An Aura authority identifier using S/R 25519 as its crypto.
- Block type as expected by this runtime.
- BlockId type as expected by this runtime.
- Proper alias for bridge GRANDPA pallet used to bridge with the bulletin chain.
- Proper alias for bridge messages pallet used to bridge with the bulletin chain.
- Executive: handles dispatch to the various modules.
- Migrations to apply on runtime upgrade.
- A Block signed with a Justification
- The TransactionExtension to the basic transaction logic.
- Unchecked extrinsic type as expected by this runtime.
- Proper alias for bridge messages pallet used to bridge with the bulletin chain.