|
|
@@ -1029,10 +1029,9 @@ func (s *PublicBlockChainAPI) BatchCall(ctx context.Context, config BatchCallCon
|
|
|
}
|
|
|
result, err := doCall(ctx, s.b, call.CallArgs, state, header, timeout, gp, &blockContext)
|
|
|
if err != nil {
|
|
|
- results = append(results, CallResult{Return: nil, Error: &revertError{
|
|
|
- error: err,
|
|
|
- reason: "410err",
|
|
|
- }})
|
|
|
+ fmt.Sprintf("410 execution reverted: %v", err.Error())
|
|
|
+
|
|
|
+ results = append(results, CallResult{Return: nil, Error: err})
|
|
|
} else {
|
|
|
// If the result contains a revert reason, try to unpack it.
|
|
|
if len(result.Revert()) > 0 {
|