Skip to content

Commit 1789af4

Browse files
committed
final cleanup
1 parent 66a476b commit 1789af4

File tree

1 file changed

+3
-3
lines changed
  • noir-projects/noir-contracts/contracts/app/orderbook_contract/src/test

1 file changed

+3
-3
lines changed

noir-projects/noir-contracts/contracts/app/orderbook_contract/src/test/test.nr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ global ASK_AMOUNT: u128 = 2000;
1111
global CREATE_ORDER_AUTHWIT_NONCE: Field = 1;
1212
global FULFILL_ORDER_AUTHWIT_NONCE: Field = 2;
1313

14-
/// Test that checks the full flow of creating an order, fulfilling it and verifying the intermittent and the final
15-
/// balances.
14+
/// Checks the full flow of creating an order and fulfilling it.
15+
//
1616
// Note: Ideally this test would be split into 2 separate test cases - one for order creation and one for order
1717
// fulfillment, with the second test running on the state from the first test. Since this feature is not currently
1818
// supported, combining them into a single comprehensive test is the best approach.
@@ -56,7 +56,7 @@ unconstrained fn full_flow() {
5656
assert_eq(order.bid_token_is_zero, true); // token0 -> token1
5757
assert_eq(is_fulfilled, false);
5858

59-
// Verify tokens were transferred to orderbook's public balance
59+
// Verify that all maker's tokens were transferred to orderbook's public balance
6060
assert_eq(env.view_public(token0.balance_of_public(orderbook_address)), BID_AMOUNT);
6161
assert_eq(env.simulate_utility(token0.balance_of_private(maker)), 0);
6262

0 commit comments

Comments
 (0)