I'm learning free code camp solidity-js,(https://github.com/PatrickAlphaC/hardhat-smartcontract-lottery-fcc) following the video I wrote the code
I have deployed the raffle contract, and set up chainlink keeper, chainlink vrf, but when I run raffle.staging.test.js, my address sends eth to the contract address, but checkupkeep doesn't work, what could be causing this error
Two things to check:
example:
rinkeby: {
url: RINKEBY_RPC_URL,
accounts: PRIVATE_KEY !== undefined ? [PRIVATE_KEY] : [],
// accounts: {
// mnemonic: MNEMONIC,
// },
saveDeployments: true,
chainId: 4,
timeout: 60000
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.