Expand description
The library of substrate relay. contains some public codes to provide to substrate relay.
Modules§
- cli
- Deal with CLI args of substrate-to-substrate relay.
- equivocation
- Types and functions intended to ease adding of new Substrate -> Substrate equivocation detection pipelines.
- error
- Relay errors.
- finality
- Types and functions intended to ease adding of new Substrate -> Substrate finality proofs synchronization pipelines.
- finality_
base - Types and functions intended to ease adding of new Substrate -> Substrate finality pipelines.
- messages
- Tools for supporting message lanes between two Substrate-based chains.
- on_
demand - Types and functions intended to ease adding of new Substrate -> Substrate on-demand pipelines.
- parachains
- Types and functions intended to ease adding of new Substrate -> Substrate parachain finality proofs synchronization pipelines.
- proofs
- Module for handling storage proofs compatibility.
Macros§
- declare_
chain_ cli_ schema - Create chain-specific set of configuration objects: connection parameters, signing parameters and bridge initialization parameters.
- declare_
chain_ connection_ params_ cli_ schema - Create chain-specific set of runtime version parameters.
- declare_
chain_ runtime_ version_ params_ cli_ schema - Create chain-specific set of runtime version parameters.
- declare_
chain_ signing_ params_ cli_ schema - Create chain-specific set of signing parameters.
- declare_
parachain_ to_ parachain_ bridge_ schema - Create set of configuration objects specific to parachain-to-parachain relayer.
- declare_
relay_ to_ parachain_ bridge_ schema - Create set of configuration objects specific to relay-to-parachain relayer.
- generate_
receive_ message_ delivery_ proof_ call_ builder - Macro that generates
ReceiveMessagesDeliveryProofCallBuilder
implementation for the case when you only have an access to the mocked version of source chain runtime. In this case you should provide “name” of the call variant for the bridge messages calls and the “name” of the variant for thereceive_messages_delivery_proof
call within that first option. - generate_
receive_ message_ proof_ call_ builder - Macro that generates
ReceiveMessagesProofCallBuilder
implementation for the case when you only have an access to the mocked version of target chain runtime. In this case you should provide “name” of the call variant for the bridge messages calls and the “name” of the variant for thereceive_messages_proof
call within that first option. - generate_
report_ equivocation_ call_ builder - Macro that generates
ReportEquivocationCallBuilder
implementation for the case where we only have access to the mocked version of the source chain runtime. - generate_
submit_ finality_ proof_ call_ builder - Macro that generates
SubmitFinalityProofCallBuilder
implementation for the case when you only have an access to the mocked version of target chain runtime. In this case you should provide “name” of the call variant for the bridge GRANDPA calls and the “name” of the variant for thesubmit_finality_proof
call within that first option. - generate_
submit_ finality_ proof_ ex_ call_ builder - Macro that generates
SubmitFinalityProofCallBuilder
implementation for the case when you only have an access to the mocked version of target chain runtime. In this case you should provide “name” of the call variant for the bridge GRANDPA calls and the “name” of the variant for thesubmit_finality_proof_ex
call within that first option.
Structs§
- Transaction
Params - Transaction creation parameters.
- Utility
Pallet Batch Call Builder - Batch call builder based on
pallet-utility
.
Enums§
- Headers
ToRelay - Type of headers that we relay.
- Tagged
Account - Tagged relay account, which balance may be exposed as metrics by the relay.
Traits§
- Batch
Call Builder - Batch call builder.
- Batch
Call Builder Constructor - Batch call builder constructor.