Skip to content

Commit

Permalink
added await
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Jan 26, 2024
1 parent dfc7968 commit c7a923c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system-contracts/test/PubdataChunkPublisher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ describe("PubdataChunkPublisher tests", () => {

it("Publish 1 Blob", async () => {
const pubdata = "0x" + genRanHex(blobSizeInBytes);
pubdataChunkPublisher.connect(l1MessengerAccount).chunkAndPublishPubdata(pubdata);
await pubdataChunkPublisher.connect(l1MessengerAccount).chunkAndPublishPubdata(pubdata);
});

it("Publish 2 Blobs", async () => {
const pubdata = "0x" + genRanHex(blobSizeInBytes * maxNumberBlobs);
pubdataChunkPublisher.connect(l1MessengerAccount).chunkAndPublishPubdata(pubdata);
await pubdataChunkPublisher.connect(l1MessengerAccount).chunkAndPublishPubdata(pubdata);
});
});
});

0 comments on commit c7a923c

Please sign in to comment.