mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
parachain dmp.rs to Frame V2 (#3426)
* migration * fix warning * change runtimes * extra line * another double space lol * add dmp in test runtime * test runtime * Adjust visibility on storage items Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -1051,7 +1051,7 @@ impl<T: Config> Module<T> {
|
||||
.encode()
|
||||
};
|
||||
if let Err(dmp::QueueDownwardMessageError::ExceedsMaxMessageSize) =
|
||||
<dmp::Module<T>>::queue_downward_message(&config, recipient, notification_bytes)
|
||||
<dmp::Pallet<T>>::queue_downward_message(&config, recipient, notification_bytes)
|
||||
{
|
||||
// this should never happen unless the max downward message size is configured to an
|
||||
// jokingly small number.
|
||||
@@ -1114,7 +1114,7 @@ impl<T: Config> Module<T> {
|
||||
.encode()
|
||||
};
|
||||
if let Err(dmp::QueueDownwardMessageError::ExceedsMaxMessageSize) =
|
||||
<dmp::Module<T>>::queue_downward_message(&config, sender, notification_bytes)
|
||||
<dmp::Pallet<T>>::queue_downward_message(&config, sender, notification_bytes)
|
||||
{
|
||||
// this should never happen unless the max downward message size is configured to an
|
||||
// jokingly small number.
|
||||
@@ -1164,7 +1164,7 @@ impl<T: Config> Module<T> {
|
||||
channel_id.sender
|
||||
};
|
||||
if let Err(dmp::QueueDownwardMessageError::ExceedsMaxMessageSize) =
|
||||
<dmp::Module<T>>::queue_downward_message(&config, opposite_party, notification_bytes)
|
||||
<dmp::Pallet<T>>::queue_downward_message(&config, opposite_party, notification_bytes)
|
||||
{
|
||||
// this should never happen unless the max downward message size is configured to an
|
||||
// jokingly small number.
|
||||
|
||||
Reference in New Issue
Block a user