Lesson9: transcation keeps getting failed(Error: transaction failed) #4869
Unanswered
moayuisuda
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have deployed my contract to goerli test network and configed VRF and Automation. but when I run my scripts to enter lottery, it keeps getting 'transaction failed'.
scripts/test.js:
Lottery.sol:
hardhat.config.js:
after I run
hh run scripts/test.js --network goerli
, I get this error:I tried ton of times, ethersan:

VRF:

Automation:

I have passed all my local unit test, but get trouble with goerli test network. Hope someone can help to see what is wrong.
Beta Was this translation helpful? Give feedback.
All reactions