Skip to content

Commit

Permalink
fix(bb-bnc): add missing rwi parameter to set_markup_coefficient call…
Browse files Browse the repository at this point in the history
…s in tests

Co-Authored-By: [email protected] <[email protected]>
  • Loading branch information
1 parent 2ffcfd3 commit 9aedbf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallets/bb-bnc/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 9aedbf8

Please sign in to comment.