Skip to content

Commit

Permalink
chore: fix tests for contract step (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzB0t authored Feb 16, 2024
1 parent 0561342 commit 7c3996b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/builder/src/steps/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,16 +248,17 @@ describe('steps/contract.ts', () => {
},
});

expect((await fakeRuntime.getDefaultSigner({}, '')).wallet.sendTransaction).toBeCalledWith(
makeArachnidCreate2Txn(
expect((await fakeRuntime.getDefaultSigner({}, '')).wallet.sendTransaction).toBeCalledWith({
...makeArachnidCreate2Txn(
'wohoo',
viem.encodeDeployData({
bytecode: '0xabcd',
abi: fakeAbi,
args: [viem.stringToHex('one', { size: 32 }), viem.stringToHex('two', { size: 32 }), { three: 'four' }],
})
)[0]
);
)[0],
account: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
});
});
});

Expand Down

0 comments on commit 7c3996b

Please sign in to comment.