fund-contract.js invalid opcode: INVALID
jiebanghan opened this issue · 1 comments
jiebanghan commented
Hi ,after did the procedure "Clone The Repo and migrate" successfully and then "Generate a character", I enter comand below, it shows invalid information:
~/nft2/dungeons-and-dragons-nft-master$ pwd
/home/gilsun91/nft2/dungeons-and-dragons-nft-master
~/nft2/dungeons-and-dragons-nft-master$ truffle exec scripts/fund-contract.js --network rinkeby
Using network 'rinkeby'.
Chainlink Token Address: 0x01BE23585060835E02B77ef475b0Cc51aA1e0709
Funding contract: 0x0D553cb0AE3E56DCDEF188347977A31AA8b9768f
invalid opcode: INVALID
Truffle v5.5.3 (core: 5.5.3)
Node v16.14.0
So ,what is the problem and how to solve it ? Thank you .
PatrickAlphaC commented
It's likely you were trying to fund your contract when rinkeby was down. Should be fine now.