Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="priceFeedAddress", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0) #5217
Answered
by
alymurtazamemon
NakeshTewari
asked this question in
Q&A
-
I am having this error. It says that "priceFeedAddress" is undefined.I have checked others discussions but still did not get the solution. nakesh@Nakesh-Tewari:~/folder/hardhat-fund-me-fcc$ yarn hardhat deploy --network goerli
yarn run v1.22.15
warning ../../package.json: No license field
$ /home/nakesh/folder/hardhat-fund-me-fcc/node_modules/.bin/hardhat deploy --network goerli
Nothing to compile
undefined
An unexpected error occurred:
Error: ERROR processing /home/nakesh/folder/hardhat-fund-me-fcc/deploy/01-deploy-fund-me.js:
Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="priceFeedAddress", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0)
at Logger.makeError (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
at Logger.throwError (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
at Logger.throwArgumentError (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/logger/src.ts/index.ts:285:21)
at AddressCoder.Coder._throwError (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/abi/src.ts/coders/abstract-coder.ts:68:16)
at AddressCoder.encode (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/abi/src.ts/coders/address.ts:22:18)
at /home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/abi/src.ts/coders/array.ts:71:19
at Array.forEach (<anonymous>)
at pack (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/abi/src.ts/coders/array.ts:54:12)
at TupleCoder.encode (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/abi/src.ts/coders/tuple.ts:54:20)
at AbiCoder.encode (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/@ethersproject/abi/src.ts/abi-coder.ts:111:15)
at DeploymentsManager.executeDeployScripts (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1222:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at DeploymentsManager.runDeploy (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1052:5)
at SimpleTaskDefinition.action (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat-deploy/src/index.ts:438:5)
at Environment._runTaskDefinition (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
at Environment.run (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
at SimpleTaskDefinition.action (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat-deploy/src/index.ts:584:32)
at Environment._runTaskDefinition (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
at Environment.run (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
at SimpleTaskDefinition.action (/home/nakesh/folder/hardhat-fund-me-fcc/node_modules/hardhat-deploy/src/index.ts:669:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Here is my repo link: https://github.com/NakeshTewari/Hardhat_fund_me |
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Apr 3, 2023
Replies: 1 comment 1 reply
-
@NakeshTewari Here typo in
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
NakeshTewari
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@NakeshTewari Here typo in
ethUsdPriceFeed