Skip to content

Commit

Permalink
user waitForReceipt instead of getReceipt when deploying (#324)
Browse files Browse the repository at this point in the history
* user waitForReceipt instead of getReceipt when deploying

* set a default simulations contract

* wait for receipt
  • Loading branch information
mouseless-eth authored Oct 14, 2024
1 parent f87498b commit 467529f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cli/config/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export const bundlerOptions: CliCommandOptions<IBundlerArgsInput> = {
description: "Address of the EntryPoint simulations contract",
type: "string",
alias: "c",
require: false
require: false,
default: "0xBbe8A301FbDb2a4CD58c4A37c262ecef8f889c47"
},
"executor-private-keys": {
description: "Private keys of the executor accounts split by commas",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/deploySimulationsContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const deploySimulationsContract = async ({
bytecode: PimlicoEntryPointSimulationsDeployBytecode
})

const receipt = await publicClient.getTransactionReceipt({
const receipt = await publicClient.waitForTransactionReceipt({
hash: deployHash
})

Expand Down

0 comments on commit 467529f

Please sign in to comment.