From 9aedbf8e6c0e251d66f22e18bdd992cf30f067b9 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 25 Jan 2025 06:28:34 +0000 Subject: [PATCH] fix(bb-bnc): add missing rwi parameter to set_markup_coefficient calls in tests Co-Authored-By: edwin@bifrost.io --- pallets/bb-bnc/src/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pallets/bb-bnc/src/tests.rs b/pallets/bb-bnc/src/tests.rs index 7acc0eaeb..ceef9be3c 100644 --- a/pallets/bb-bnc/src/tests.rs +++ b/pallets/bb-bnc/src/tests.rs @@ -1746,6 +1746,7 @@ fn complex_arithmetic_operations_should_not_overflow() { VBNC, FixedU128::saturating_from_integer(1), FixedU128::saturating_from_integer(1), + FixedU128::saturating_from_integer(1), )); assert_noop!( @@ -1794,6 +1795,7 @@ fn multiple_positions_with_complex_rewards_should_work() { VBNC, FixedU128::from_inner(100_000_000_000_000_000), FixedU128::saturating_from_integer(1), + FixedU128::saturating_from_integer(1), )); assert_eq!( BbBNC::balance_of_position_current_block(POSITIONID0),