Skip to content

Commit

Permalink
fix: overrides no longer override contract.initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
ljankovic-txfusion committed Nov 1, 2024
1 parent 3b1e97f commit 44ca8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/sdk/src/deploy/HyperlaneDeployer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ export abstract class HyperlaneDeployer<
.estimateGas.initialize(...initializeArgs);

const initTx = await contract.initialize(...initializeArgs, {
...overrides,
gasLimit: addBufferToGasLimit(estimatedGas),
...overrides,
});
this.logger.info(`Contract ${contractName} initialized`);
const receipt = await this.multiProvider.handleTx(chain, initTx);
Expand Down

0 comments on commit 44ca8ef

Please sign in to comment.