Allow transactions to fail #536
Unanswered
timbrinded
asked this question in
Idea / Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now the viem is very over eager with running
estimateGas()which means you cannot ever submit a failing transaction to the block chain.Even when using
wallet.signTransaction()to generate a raw serialized txn string, you still will receive errors due to the calls ofeth_estimateGas()(even when all gas params have been supplied).Please can we have a toggle to relax this behaviour? For test scenarios it is really important to be able to model the negative cases.
Beta Was this translation helpful? Give feedback.
All reactions