Skip to content

Commit 41319fd

Browse files
committed
clarified test's purpose
1 parent 49d64ee commit 41319fd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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();

yarn-project/end-to-end/src/e2e_orderbook.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import { setup } from './fixtures/utils.js';
1010
const 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).
1316
describe('Orderbook', () => {
1417
jest.setTimeout(TIMEOUT);
1518

0 commit comments

Comments
 (0)