Lottery project and NFT project: Problem with VRF V2.5 on Sepolia test net #6808
Unanswered
Marcrus813
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed official docs of V2.5 to construct my contracts, when testing locally, everything seems fine, but calling
request
function on Sepolia test net is always getting reverted, here's my repo for NFT ProjectThings I've tried:
VRFD20
example contract from official site,rollDice
works, so my subscription should be goodThe first one is my NFT contract, the second is the
VRFD20
contract I deployed from Remixdecoded
variable is null, this is probably not related to the actual problem, but it's the reason that I don't know what was going on.Contract snippet
Edit: I am using hardhat-ignition for this project, to deploy and run locally, please refer to
package.json
:To deploy/run on Sepolia, I used
NETWORK=sepolia
for terminal env variable:Please help!!!
Beta Was this translation helpful? Give feedback.
All reactions