Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

To polkadot-v0.9.43 #272

Merged
merged 2 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix tests
  • Loading branch information
aurexav committed Jul 6, 2023
commit c6f09407c64e46ccd731ad543d88c93089faa258
4 changes: 4 additions & 0 deletions modules/fee-market/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ impl pallet_balances::Config for Test {
type Balance = Balance;
type DustRemoval = ();
type ExistentialDeposit = ExistentialDeposit;
type FreezeIdentifier = ();
type HoldIdentifier = ();
type MaxFreezes = ();
type MaxHolds = ();
type MaxLocks = ();
type MaxReserves = ();
type ReserveIdentifier = [u8; 8];
Expand Down
6 changes: 5 additions & 1 deletion modules/messages/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ impl pallet_balances::Config for TestRuntime {
type Balance = Balance;
type DustRemoval = ();
type ExistentialDeposit = ConstU64<1>;
type FreezeIdentifier = ();
type HoldIdentifier = ();
type MaxFreezes = ();
type MaxHolds = ();
type MaxLocks = ();
type MaxReserves = ();
type ReserveIdentifier = ();
Expand Down Expand Up @@ -387,7 +391,7 @@ impl MessageDeliveryAndDispatchPayment<RuntimeOrigin, AccountId, TestMessageFee>
// loop won't proceed if current entry is ahead of received range (begin > end).
// this loop is bound by `T::MaxUnconfirmedMessagesAtInboundLane` on the bridged
// chain
let mut relayer_reward = relayers_rewards.entry(entry.relayer).or_default();
let relayer_reward = relayers_rewards.entry(entry.relayer).or_default();
for nonce in nonce_begin..=nonce_end {
let key = MessageKey { lane_id, nonce };
let message_data = OutboundMessages::<T, I>::get(key).expect(
Expand Down