mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
Remove callbacks from the messages pallet (#1649)
* remove callbacks * clippy * fmt
This commit is contained in:
committed by
Bastian Köcher
parent
8c845602cf
commit
8e660dd74e
@@ -467,8 +467,6 @@ impl pallet_bridge_messages::Config<WithMillauMessagesInstance> for Runtime {
|
||||
Runtime,
|
||||
WithMillauMessagesInstance,
|
||||
>;
|
||||
type OnMessageAccepted = ();
|
||||
type OnDeliveryConfirmed = ();
|
||||
|
||||
type SourceHeaderChain = crate::millau_messages::Millau;
|
||||
type MessageDispatch = crate::millau_messages::FromMillauMessageDispatch;
|
||||
|
||||
@@ -175,7 +175,7 @@ impl SourceHeaderChain for Millau {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::{DbWeight, MillauGrandpaInstance, Runtime, WithMillauMessagesInstance};
|
||||
use crate::{MillauGrandpaInstance, Runtime, WithMillauMessagesInstance};
|
||||
use bp_runtime::Chain;
|
||||
use bridge_runtime_common::{
|
||||
assert_complete_bridge_types,
|
||||
@@ -214,7 +214,6 @@ mod tests {
|
||||
max_incoming_inbound_lane_data_proof_size,
|
||||
bp_rialto::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX,
|
||||
bp_rialto::MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX,
|
||||
DbWeight::get(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user