We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 512533d commit 227f57eCopy full SHA for 227f57e
services/requester/requester.go
@@ -404,6 +404,7 @@ func (e *EVM) EstimateGas(
404
if resultSummary.ErrorCode == evmTypes.ExecutionErrCodeExecutionReverted {
405
return 0, errs.NewRevertError(resultSummary.ReturnedData)
406
}
407
+ return 0, errs.NewFailedTransactionError(resultSummary.ErrorMessage)
408
409
410
// For almost any transaction, the gas consumed by the unconstrained execution
0 commit comments