pub type BridgeGrandpaCallOf<C> = BridgeGrandpaCall<HeaderOf<C>>;
Expand description
The BridgeGrandpaCall
for a pallet that bridges with given C
;
Aliased Type§
enum BridgeGrandpaCallOf<C> {
submit_finality_proof {
finality_target: Box<<C as Chain>::Header>,
justification: GrandpaJustification<<C as Chain>::Header>,
},
initialize {
init_data: InitializationData<<C as Chain>::Header>,
},
submit_finality_proof_ex {
finality_target: Box<<C as Chain>::Header>,
justification: GrandpaJustification<<C as Chain>::Header>,
current_set_id: u64,
},
}
Variants§
submit_finality_proof
pallet-bridge-grandpa::Call::submit_finality_proof
Fields
§
justification: GrandpaJustification<<C as Chain>::Header>
Finality justification for the finality_target
.
initialize
pallet-bridge-grandpa::Call::initialize
Fields
§
init_data: InitializationData<<C as Chain>::Header>
All data, required to initialize the pallet.
submit_finality_proof_ex
pallet-bridge-grandpa::Call::submit_finality_proof_ex
Trait Implementations
Source§impl<Header: Clone + HeaderT> Clone for BridgeGrandpaCall<Header>
impl<Header: Clone + HeaderT> Clone for BridgeGrandpaCall<Header>
Source§fn clone(&self) -> BridgeGrandpaCall<Header>
fn clone(&self) -> BridgeGrandpaCall<Header>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Header: Debug + HeaderT> Debug for BridgeGrandpaCall<Header>
impl<Header: Debug + HeaderT> Debug for BridgeGrandpaCall<Header>
Source§impl<Header: HeaderT> Decode for BridgeGrandpaCall<Header>where
Box<Header>: Decode,
GrandpaJustification<Header>: Decode,
InitializationData<Header>: Decode,
impl<Header: HeaderT> Decode for BridgeGrandpaCall<Header>where
Box<Header>: Decode,
GrandpaJustification<Header>: Decode,
InitializationData<Header>: Decode,
Source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<Self, Error>
Attempt to deserialise the value from input.
§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
Attempt to skip the encoded value from input. Read more
§fn encoded_fixed_size() -> Option<usize>
fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read more
Source§impl<Header: HeaderT> Encode for BridgeGrandpaCall<Header>where
Box<Header>: Encode,
GrandpaJustification<Header>: Encode,
InitializationData<Header>: Encode,
impl<Header: HeaderT> Encode for BridgeGrandpaCall<Header>where
Box<Header>: Encode,
GrandpaJustification<Header>: Encode,
InitializationData<Header>: Encode,
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more