INSUFFICIENT_FUNDS display #503
austintgriffith
started this conversation in
Ideas
Replies: 1 comment
-
I tried looking in Anyway, I did a small implementation with a wrapper for the deploy-function. It does help the user when deploying, but I think it does more harm with bringing complexity to the code. The implementation is here. And a complete error for a deploy would look like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
idk if we can, but it would be some cool extra magic if we catch this big scary "INSUFFICIENT_FUNDS" error with a simple dialog of our own that says "Your deployer account *** only has XXX ETH and at the current gas price of YYY GWEI you need ZZZ ETH to deploy."
that would be so helpful and nice
Beta Was this translation helpful? Give feedback.
All reactions