Skip to content

Commit

Permalink
include keyPath when instantiating NearProvider with evm-call
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedotexe authored and Mike Purvis committed Dec 16, 2020
1 parent 9f810c8 commit a8b677b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/evm-call.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async function scheduleEVMFunctionCall(options) {
masterAccountId: options.accountId,
networkId: options.networkId,
evmAccountId: options.evmAccount,
keyPath: options.keyPath,
}));
const contract = new web.eth.Contract(options.abi, options.contractName);
assert(options.methodName in contract.methods, `${options.methodName} is not present in ABI`);
Expand Down

0 comments on commit a8b677b

Please sign in to comment.