File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
noir-projects/noir-contracts/contracts/app/orderbook_contract/src
yarn-project/end-to-end/src Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ pub contract Orderbook {
9898 let maker_partial_note =
9999 Token ::at (ask_token ).prepare_private_balance_increase (maker ).call (&mut context );
100100
101- // We use the partial note's as the order ID. Because partial notes emit a nullifier when created they are
101+ // We use the partial note as the order ID. Because partial notes emit a nullifier when created they are
102102 // unique, and so this guarantees that our order IDs are also unique without having to keep track of past
103103 // ones.
104104 let order_id = maker_partial_note .to_field ();
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ import { setup } from './fixtures/utils.js';
1010const TIMEOUT = 120_000 ;
1111
1212// Unhappy path tests are written only in Noir.
13+ //
14+ // We keep this test around because it's the only TS test where we have async completion of a partial note (partial
15+ // note created in one tx and completed in another).
1316describe ( 'Orderbook' , ( ) => {
1417 jest . setTimeout ( TIMEOUT ) ;
1518
You can’t perform that action at this time.
0 commit comments