Closed wombyz closed 2 years ago
For anyone else having this issue, I just solved it by adding a return line to the createCollectible function.
Can anyone explain why this fixed it? 😂
function createCollectible() public returns (bytes32) {
bytes32 requestId = requestRandomness(keyhash, fee);
requestIdToSender[requestId] = msg.sender;
emit requestedCollectible(requestId, msg.sender);
return requestId;
}
Looks like you maybe added a character somewhere.. welp, glad it works!
Can't figure out why this error won't go away.
I assumed it was an import error so played around with getting chainlink packages installed with yarn etc but no luck
Config:
AdvancedCollectible.sol
Any help would be hugely appreciated!