mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
RefundRelayerForMessagesFromParachain improvements (#1895)
* RefundRelayerForMessagesFromParachain changes - some renamings and cosmetics - removing the GI generic param since we can get it from the parachains config - merging (Parachains Instance, Parachain Id) and (Messages Instance, Messages lane Id) generic params - removing unnecessay derives - renaming for the `TransactionFeeCalculation` and defining `ActualFeeRefund` concrete implementation - adding support for multiple RefundRelayerForMessagesFromParachain (by adding a `StaticStrProvider` generic param) * Revert to using RuntimeDebug
This commit is contained in:
committed by
Bastian Köcher
parent
1d6e8a9a26
commit
623bd85a5e
@@ -18,12 +18,12 @@ use crate::messages::{
|
||||
source::FromBridgedChainMessagesDeliveryProof, target::FromBridgedChainMessagesProof,
|
||||
};
|
||||
use bp_messages::{LaneId, MessageNonce};
|
||||
use frame_support::{dispatch::CallableCallFor, traits::IsSubType};
|
||||
use frame_support::{dispatch::CallableCallFor, traits::IsSubType, RuntimeDebug};
|
||||
use pallet_bridge_messages::{Config, Pallet};
|
||||
use sp_runtime::{transaction_validity::TransactionValidity, RuntimeDebug};
|
||||
use sp_runtime::transaction_validity::TransactionValidity;
|
||||
|
||||
/// Info about a `ReceiveMessagesProof` call which tries to update a single lane.
|
||||
#[derive(Copy, Clone, PartialEq, RuntimeDebug)]
|
||||
#[derive(PartialEq, RuntimeDebug)]
|
||||
pub struct ReceiveMessagesProofInfo {
|
||||
pub lane_id: LaneId,
|
||||
pub best_proof_nonce: MessageNonce,
|
||||
|
||||
Reference in New Issue
Block a user