Skip to content

Commit

Permalink
[CPT-218] migrate to native tracer (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrubabasu authored Feb 8, 2022
1 parent 405343b commit 501f630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 243 deletions.
5 changes: 3 additions & 2 deletions client/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import (
"fmt"

"github.com/ava-labs/avalanchego/utils/rpc"
"github.com/ava-labs/coreth/eth/tracers"
"github.com/ava-labs/coreth/ethclient"
"github.com/ethereum/go-ethereum/eth/tracers"
)

var (
tracer = "callTracer"
tracerTimeout = "180s"
prefixEth = "/ext/bc/C/rpc"
)
Expand All @@ -35,7 +36,7 @@ func NewEthClient(endpoint string) (*EthClient, error) {
rpc: rpc.NewRPCRequester(endpoint),
traceConfig: &tracers.TraceConfig{
Timeout: &tracerTimeout,
Tracer: &jsTracer,
Tracer: &tracer,
},
}, nil
}
Expand Down
241 changes: 0 additions & 241 deletions client/tracer.go

This file was deleted.

0 comments on commit 501f630

Please sign in to comment.