Skip to content

Commit

Permalink
things
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed Jan 16, 2024
1 parent 00e46a8 commit 0ea7f9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/common/src/allo/backends/allo-v1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ describe("AlloV1", () => {
// mock transaction receipt
transactionSender.wait = vi.fn().mockResolvedValueOnce({
transactionHash: zeroTxHash,
blockNumber: 1n,
blockNumber: BigInt(1),
blockHash: "0x0",
logs: [
{
topics: encodeEventTopics({
abi: ProjectRegistry,
eventName: "ProjectCreated",
args: {
projectID: 1n,
projectID: BigInt(1),
owner: zeroAddress,
},
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/allo/backends/allo-v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("AlloV2", () => {
// mock transaction receipt
transactionSender.wait = vi.fn().mockResolvedValueOnce({
transactionHash: zeroTxHash,
blockNumber: 1n,
blockNumber: BigInt(1),
blockHash: "0x0",
logs: [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/common/src/allo/transaction-sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ export function createViemTransactionSender(
* const txHash = await sender.send({
* to: "0x1234",
* data: "0x1234",
* value: 0n,
* value: BigInt(0),
* });
* const receipt = await sender.wait(txHash);
* expect(receipt.transactionHash).toEqual(txHash);
* expect(sender.transactions).toEqual([
* {
* to: "0x1234",
* data: "0x1234",
* value: 0n,
* value: BigInt(0),
* },
* ]);
*/
Expand Down

0 comments on commit 0ea7f9f

Please sign in to comment.