|
|
@@ -22,6 +22,7 @@ import (
|
|
|
"errors"
|
|
|
"fmt"
|
|
|
"math/big"
|
|
|
+ "os"
|
|
|
"strings"
|
|
|
"time"
|
|
|
|
|
|
@@ -1028,7 +1029,7 @@ func (s *PublicBlockChainAPI) BatchCall(ctx context.Context, config BatchCallCon
|
|
|
call.BlockOverrides.Apply(&blockContext)
|
|
|
}
|
|
|
result, err := doCall(ctx, s.b, call.CallArgs, state, header, timeout, gp, &blockContext)
|
|
|
- fmt.Sprintf("------call execution reverted: %v", err)
|
|
|
+ fmt.Fprintf(os.Stderr, "------call execution reverted: %v", err)
|
|
|
|
|
|
if err != nil {
|
|
|
results = append(results, CallResult{Return: nil, Error: err})
|