Test_can_fund_and_withdraw - ValueError

Hey guys. I’ve been following the smart contracts course on youtube. Thanks to the authors. it is a great tutorial.! I need some help though.

Im trying to solve an error:

FAILED tests/test_fund_me.py::test_can_fund_and_withdraw - ValueError: insufficient funds for gas * price + value

I have forked mainnet from alchemy and can deploy the contract without problems. But test on mainnet is failing with the above error.

Any ideas?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.