Skip to content

Lesson 7: Gas Estimation Error when Ending Lottery #1669

Answered by cromewar
abdullahpichoo asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @abdullahpichoo
Tricky question, but thanks for the detailed explanation of the error this is really helpful.
So I would say there is not taking one of the contracts correctly, be sure the name of link-token is setup the same for the network you are deploying to on your brownie-config.yaml and that your get_ contract function is correct.

Also, I highly recommend to delete the build folder, and re-deploy the contract.. then try again.

Please let us know if this was helpful.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@abdullahpichoo
Comment options

@cromewar
Comment options

@Cosmodude
Comment options

@abdullahpichoo
Comment options

Answer selected by abdullahpichoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants