mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
rename messages_dispatch_weight -> message_details (#996)
Co-authored-by: Tomasz Drwięga <tomasz@parity.io>
This commit is contained in:
committed by
Bastian Köcher
parent
954137eada
commit
ec8412b6d0
@@ -163,6 +163,19 @@ impl<RelayerId> InboundLaneData<RelayerId> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Message details, returned by runtime APIs.
|
||||
#[derive(Clone, Default, Encode, Decode, RuntimeDebug, PartialEq, Eq)]
|
||||
pub struct MessageDetails<OutboundMessageFee> {
|
||||
/// Nonce assigned to the message.
|
||||
pub nonce: MessageNonce,
|
||||
/// Message dispatch weight, declared by the submitter.
|
||||
pub dispatch_weight: Weight,
|
||||
/// Size of the encoded message.
|
||||
pub size: u32,
|
||||
/// Delivery+dispatch fee paid by the message submitter at the source chain.
|
||||
pub delivery_and_dispatch_fee: OutboundMessageFee,
|
||||
}
|
||||
|
||||
/// Gist of `InboundLaneData::relayers` field used by runtime APIs.
|
||||
#[derive(Clone, Default, Encode, Decode, RuntimeDebug, PartialEq, Eq)]
|
||||
pub struct UnrewardedRelayersState {
|
||||
|
||||
Reference in New Issue
Block a user