Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrylR committed Feb 8, 2024
1 parent b9611de commit 1522abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deployer/MinimalContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class MinimalContract {
const factory = new ethers.ContractFactory(this._interface, this._bytecode);

const coder = new ethers.AbiCoder();
// Try to encode the arguments before sending the deployment transaction
factory.interface.deploy.inputs.forEach((input, idx) => {
// Try to encode the arguments before sending the deployment transaction
coder.encode([input], [args[idx]]);
});

Expand Down

0 comments on commit 1522abf

Please sign in to comment.