Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 61115de

Browse files
committed
Fix tests
1 parent b34fbf2 commit 61115de

File tree

1 file changed

+3
-3
lines changed
  • bridges/snowbridge/pallets/outbound-queue/src

1 file changed

+3
-3
lines changed

bridges/snowbridge/pallets/outbound-queue/src/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fn test_calculate_fees_with_unit_multiplier() {
279279
};
280280
let fee = OutboundQueue::calculate_fee(gas_used, price_params);
281281
assert_eq!(fee.local, 698000000);
282-
assert_eq!(fee.remote, 200000);
282+
assert_eq!(fee.remote, 1600000200000);
283283
});
284284
}
285285

@@ -295,7 +295,7 @@ fn test_calculate_fees_with_multiplier() {
295295
};
296296
let fee = OutboundQueue::calculate_fee(gas_used, price_params);
297297
assert_eq!(fee.local, 698000000);
298-
assert_eq!(fee.remote, 266666);
298+
assert_eq!(fee.remote, 2133333600000);
299299
});
300300
}
301301

@@ -313,6 +313,6 @@ fn test_calculate_fees_with_valid_exchange_rate_but_remote_fee_calculated_as_zer
313313
assert_eq!(fee.local, 698000000);
314314
// Though none zero pricing params the remote fee calculated here is invalid
315315
// which should be avoided
316-
assert_eq!(fee.remote, 0);
316+
assert_eq!(fee.remote, 4000000000);
317317
});
318318
}

0 commit comments

Comments
 (0)