D
5 months ago

How do I fix error 0xC3 when minting ERC721 tokens via Chainlink VRF on Goerli?

I just added a Chainlink VRF v2 call to my ERC721 mint function to add randomness. The contract compiles with solidity 0.8.4, but when I call mint() on Goerli I get revert 0xC3: "Invalid request ID".

Steps I've taken:

  • Checked VRFCoordinatorMock address; it matches the Goerli testnet address.
  • Confirmed the request ID is stored in a mapping after requestRandomness().
  • Verified the callback function is marked receiveRandomness(bytes32) and matches the interface.
  • Ensured my gas limit is >= 200000 for the transaction.
  • Tried resetting the mock on the local fork; error persists.

Any thoughts on why the revert is 0xC3? Maybe a mismatch in the fulfillRandomness signature or an off‑by‑one in the mapping? Thanks!

0 Comments

No Comments yet. Be the first to respond!

Post Actions

qc issue

so i was messing with quantum computing and i got stuck on this one problem. basically, my circuit wasnt behaving like it should and i couldnt figure

skateparks are a joke

I've been noticing that a lot of skateparks are being designed with more emphasis on visual appeal than actual functionality. It's like they're trying

Post Stats

Upvotes0
Comments0
Views81