referrerpolicy=no-referrer-when-downgrade
pallet_bridge_parachains::pallet

Trait BoundedBridgeGrandpaConfig

Source
pub trait BoundedBridgeGrandpaConfig<I: 'static>: Config<I, BridgedChain = Self::BridgedRelayChain> {
    type BridgedRelayChain: Chain<BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher>;
}
Expand description

Convenience trait for defining BridgedChain bounds.

Required Associated Types§

Source

type BridgedRelayChain: Chain<BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher>

Type of the bridged relay chain.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, I: 'static> BoundedBridgeGrandpaConfig<I> for T
where T: Config<I>, T::BridgedChain: Chain<BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher>,

Source§

type BridgedRelayChain = <T as Config<I>>::BridgedChain