Skip to content

Commit

Permalink
Drop leftover debug comments
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoAlexandre committed Nov 3, 2023
1 parent c26da52 commit 105d664
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pallets/investments/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ fn update_redeem_to_zero_removes_order() {
Some(Order::new(2 * amount, 0))
);

// nuno: this fails with
assert_ok!(Investments::update_redeem_order(
RuntimeOrigin::signed(TrancheHolderA::get()),
INVESTMENT_0_0,
Expand Down
1 change: 0 additions & 1 deletion pallets/pool-registry/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ fn register_pool_and_set_metadata() {

MockWriteOffPolicy::mock_update(|_, _| Ok(()));

// nuno: failing with MetadataForCurrencyNotFound
assert_ok!(PoolRegistry::register(
RuntimeOrigin::signed(pool_owner),
pool_owner,
Expand Down
1 change: 0 additions & 1 deletion pallets/rewards/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ pub mod pallet {

Group::<T, I>::try_mutate(group_id, |group| {
StakeAccount::<T, I>::try_mutate(account_id, currency_id.clone(), |account| {
// nuno: it fails here
if !T::Currency::can_hold(currency_id.clone(), &(), account_id, amount) {
Err(TokenError::FundsUnavailable)?;
}
Expand Down

0 comments on commit 105d664

Please sign in to comment.