Skip to content

Commit

Permalink
chore: benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
chungquantin committed Dec 19, 2024
1 parent 99b31d8 commit 5ecb661
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 103 deletions.
2 changes: 1 addition & 1 deletion pallets/nfts/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ fn transfer_owner_should_work() {
assert_ok!(Nfts::transfer(RuntimeOrigin::signed(account(1)), 0, 42, account(2)));
// reserved_balance of accounts 1 & 2 should be unchanged:
assert_eq!(Balances::reserved_balance(&account(1)), 1);
// reserves account 2's balance for the transfer.
// transfer the collection item reserves account 2's balance.
assert_eq!(Balances::reserved_balance(&account(2)), 1); // 1 - balance deposit

// 2's acceptance from before is reset when it became an owner, so it cannot be transferred
Expand Down
Loading

0 comments on commit 5ecb661

Please sign in to comment.