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 eadf016 commit 59e4f20Copy full SHA for 59e4f20
api/debug.go
@@ -5,7 +5,7 @@ import (
5
"errors"
6
"fmt"
7
"math/big"
8
- "slices"
+ "strings"
9
10
"github.com/goccy/go-json"
11
"github.com/onflow/flow-go/fvm/evm/offchain/query"
@@ -480,6 +480,6 @@ func isDefaultCallTracer(config *tracers.TraceConfig) bool {
480
return false
481
}
482
483
- tracerConfig := json.RawMessage(replayer.TracerConfig)
484
- return slices.Equal(config.TracerConfig, tracerConfig)
+ trimmedConfig := strings.ReplaceAll(string(config.TracerConfig), " ", "")
+ return trimmedConfig == replayer.TracerConfig
485
0 commit comments