Skip to content

Commit

Permalink
add address to mock
Browse files Browse the repository at this point in the history
  • Loading branch information
bengobeil committed Sep 30, 2024
1 parent 7708bdd commit 0733635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bulla-contracts/tests/functions/BullaFactoring.testtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ export const newActivePaidInvoicesReconciledEvent = (invoiceIds: BigInt[]): Acti
for(let i = 0; i < invoiceIds.length; i++) {
paidInvoiceIdsArg.push(ethereum.Value.fromUnsignedBigInt(invoiceIds[i]));
}


event.address = MOCK_BULLA_FACTORING_ADDRESS;
const paidInvoiceIdsParam = new ethereum.EventParam("paidInvoiceIds", ethereum.Value.fromArray(paidInvoiceIdsArg));
event.parameters = [paidInvoiceIdsParam];

Expand Down

0 comments on commit 0733635

Please sign in to comment.