You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Hello, I don't know where to ask so I'll try here.
I'm using web3 v1.10.
I will try to port my stuff to v4 as soon as I can but in the meantime, I'm having a problem with some of my transactions.
I have some cases where I require() stuff thus reverting the transaction.
Metamask used to give me a revert error quite quickly (I don't remember if I was using ethers at that time) but now all I get is a Metamask message that tells me gas fees can't be estimated and showing very high fees.
I already got that message and it was usually caused by a bug in my contract but here it doesn't seems to be the case and seems to be only caused by the require being not met.
How could I intercept the revert error instead of that fees estimation problem ?
Is that web3 or Metamask related ? I don't even know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I don't know where to ask so I'll try here.
I'm using web3 v1.10.
I will try to port my stuff to v4 as soon as I can but in the meantime, I'm having a problem with some of my transactions.
I have some cases where I require() stuff thus reverting the transaction.
Metamask used to give me a revert error quite quickly (I don't remember if I was using ethers at that time) but now all I get is a Metamask message that tells me gas fees can't be estimated and showing very high fees.
I already got that message and it was usually caused by a bug in my contract but here it doesn't seems to be the case and seems to be only caused by the require being not met.
How could I intercept the revert error instead of that fees estimation problem ?
Is that web3 or Metamask related ? I don't even know.
Any help is appreciated, thanks !
Beta Was this translation helpful? Give feedback.
All reactions