Skip to content

Commit

Permalink
connect signer
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Oct 3, 2024
1 parent 6e40182 commit e223861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello/tasks/callFromEVM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
);

const factory = (await hre.ethers.getContractFactory(args.name)) as any;
const contract = factory.attach(args.contract);
const contract = factory.attach(args.contract).connect(signer);

const tx = await contract.gatewayCall(
args.receiver,
Expand Down

0 comments on commit e223861

Please sign in to comment.