Skip to content

Commit

Permalink
fix(builder): Fix account not found error on create2 contract build (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzB0t authored Feb 16, 2024
1 parent ea289fe commit 0561342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/src/steps/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const contractSpec = {
: await runtime.getDefaultSigner!(txn, config.salt);

const hash = await signer.wallet.sendTransaction(
_.assign(create2Txn, overrides, { account: signer.wallet.account })
_.assign(create2Txn, overrides, { account: signer.wallet.account || signer.address })
);

receipt = await runtime.provider.waitForTransactionReceipt({ hash });
Expand Down

0 comments on commit 0561342

Please sign in to comment.