Skip to content

Lesson 7: Out of gas on withdraw function. #469

Answered by aranyadan
aranyadan asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, fixed the issue. gas-report says I need 78000 gas, but hardhat was only sending 25000. Specified extra gas with

await fundMe.withdraw({ gasLimit: 100000 })

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@amanbthakkar
Comment options

@aranyadan
Comment options

@D-Brasco
Comment options

Answer selected by aranyadan
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