File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
noir-projects/noir-contracts/contracts/app/orderbook_contract/src/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ global ASK_AMOUNT: u128 = 2000;
1111global CREATE_ORDER_AUTHWIT_NONCE : Field = 1 ;
1212global 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
You can’t perform that action at this time.
0 commit comments