You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lesson 7: Error: could not decode result data (value="0x", info={ "method": "priceFeed", "signature": "priceFeed()" }, code=BAD_DATA, version=6.13.2)
#6731
owen@DESKTOP-OWEN:~/hh-fcc/hardhat-fund-me-fcc$ yarn hardhat test
yarn run v1.22.22
warning package.json: No license field
$ /home/owen/hh-fcc/hardhat-fund-me-fcc/node_modules/.bin/hardhat test
FundMe
constructor
1) sets the aggreator addresses correctly
0 passing (5s)
1 failing
1) FundMe
constructor
sets the aggreator addresses correctly:
Error: could not decode result data (value="0x", info={ "method": "priceFeed", "signature": "priceFeed()" }, code=BAD_DATA, version=6.13.2)
at makeError (node_modules/ethers/src.ts/utils/errors.ts:694:21)
at assert (node_modules/ethers/src.ts/utils/errors.ts:715:25)
at Interface.decodeFunctionResult (node_modules/ethers/src.ts/abi/interface.ts:916:15)
at staticCallResult (node_modules/ethers/src.ts/contract/contract.ts:346:35)
at staticCall (node_modules/ethers/src.ts/contract/contract.ts:303:24)
at Proxy.priceFeed (node_modules/ethers/src.ts/contract/contract.ts:351:41)
at Context.<anonymous> (test/unit/FundMe.test.js:17:24)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi please help me.
This is FundMe.test.js
This is error :
Beta Was this translation helpful? Give feedback.
All reactions