There seems to be an issue when running the deploy scripts, its been answered in the Discussions, please add this in the repo as comment or something that people make necessary changes to avoid the error.
The issue is the error:
reverted with custom error 'InvalidConsumer()
this issue is resolved by either downgrading the chainlink version by running:
yarn add --dev @chainlink/contracts@0.4.1
or a better solutions is editing your "02-deploy-random-ipfs-nft.js", and add following code after you deploy mock and random ipfs:
There seems to be an issue when running the deploy scripts, its been answered in the Discussions, please add this in the repo as comment or something that people make necessary changes to avoid the error. The issue is the error:
reverted with custom error 'InvalidConsumer()
this issue is resolved by either downgrading the chainlink version by running:
yarn add --dev @chainlink/contracts@0.4.1
or a better solutions is editing your "02-deploy-random-ipfs-nft.js", and add following code after you deploy mock and random ipfs:
the issue was addressed in the discussion: https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions/1375