Skip to content

Commit

Permalink
Merge pull request #68 from unicornultrafoundation/fix/txtracer
Browse files Browse the repository at this point in the history
#67 Fix EVM TxTracer
  • Loading branch information
lewtran authored Oct 24, 2023
2 parents 2309d3d + abb15d1 commit 08bd07a
Show file tree
Hide file tree
Showing 8 changed files with 394 additions and 228 deletions.
2 changes: 1 addition & 1 deletion cmd/u2u/launcher/txtracer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/unicornultrafoundation/go-u2u/evmcore/txtracer"
txtracer "github.com/unicornultrafoundation/go-u2u/txtrace"
)

func TestTxTracing(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions ethapi/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ import (
notify "github.com/unicornultrafoundation/go-u2u/libs/event"
"github.com/unicornultrafoundation/go-u2u/libs/params"
"github.com/unicornultrafoundation/go-u2u/libs/rpc"
"github.com/unicornultrafoundation/go-u2u/txtrace"

"github.com/unicornultrafoundation/go-hashgraph/hash"
"github.com/unicornultrafoundation/go-hashgraph/native/idx"

"github.com/unicornultrafoundation/go-u2u/evmcore"
"github.com/unicornultrafoundation/go-u2u/evmcore/txtracer"
"github.com/unicornultrafoundation/go-u2u/native"
"github.com/unicornultrafoundation/go-u2u/native/iblockproc"
)
Expand Down Expand Up @@ -82,7 +82,7 @@ type Backend interface {
MaxGasLimit() uint64

// Transaction trace API
TxTraceByHash(ctx context.Context, h common.Hash) (*[]txtracer.ActionTrace, error)
TxTraceByHash(ctx context.Context, h common.Hash) (*[]txtrace.ActionTrace, error)
TxTraceSave(ctx context.Context, h common.Hash, traces []byte) error

// Transaction pool API
Expand Down
Loading

0 comments on commit 08bd07a

Please sign in to comment.