I am trying to run testchain using https://github.com/makerdao/testchain and then created testChain.js same as startKovan.js and startMainnet.js in /src folder
Also I added the script in package.json
After that I run testchain and keepr using yarn run testchain but it throws below error
(⎈|do-lon1-k8s-quantum:default)➜ auction-demo-keeper git:(main) ✗ docker run -it --rm dharmendrakariya/keeper:v5 yarn run testchain
yarn run v1.22.19
$ node --experimental-json-modules src/testChain.js
(node:29) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Initializing Keeper
Initializing Wallet {
_isSigner: true,
_signingKey: [Function (anonymous)],
address: '0x9F51661667f25f472eCF5198aC5526e7C144f55d',
_mnemonic: [Function (anonymous)],
provider: null
}
(node:29) UnhandledPromiseRejectionWarning: Error: invalid contract address or ENS name (argument="addressOrName", value=undefined, code=INVALID_ARGUMENT, version=contracts/5.6.2)
at Logger.makeError (/usr/src/app/node_modules/@ethersproject/logger/lib/index.js:233:21)
at Logger.throwError (/usr/src/app/node_modules/@ethersproject/logger/lib/index.js:242:20)
at Logger.throwArgumentError (/usr/src/app/node_modules/@ethersproject/logger/lib/index.js:245:21)
at Contract.BaseContract (/usr/src/app/node_modules/@ethersproject/contracts/lib/index.js:669:20)
at new Contract (/usr/src/app/node_modules/@ethersproject/contracts/lib/index.js:1053:42)
at clipperAllowance (file:///usr/src/app/src/vat.js:8:25)
at keeper.run (file:///usr/src/app/src/keeper.js:384:17)
(node:29) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:29) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 0.34s.
Could you help me with this? basically I want to test the keeper befor going with the mainnet deployment!
I am trying to run testchain using
https://github.com/makerdao/testchain
and then createdtestChain.js
same as startKovan.js and startMainnet.js in/src
folderAlso I added the script in
package.json
After that I run testchain and keepr using
yarn run testchain
but it throws below errorCould you help me with this? basically I want to test the keeper befor going with the mainnet deployment!