Skip to content

Commit

Permalink
internal/ethapi: merge CallArgs and SendTxArgs (ethereum#22718)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Jul 26, 2024
1 parent 31aeb28 commit 04b81b1
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 222 deletions.
2 changes: 1 addition & 1 deletion eth/api_tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ func (api *PrivateDebugAPI) TraceTransaction(ctx context.Context, hash common.Ha
// created during the execution of EVM if the given transaction was added on
// top of the provided block and returns them as a JSON object.
// You can provide -2 as a block number to trace on top of the pending block.
func (api *PrivateDebugAPI) TraceCall(ctx context.Context, args ethapi.CallArgs, blockNrOrHash rpc.BlockNumberOrHash, config *TraceCallConfig) (interface{}, error) {
func (api *PrivateDebugAPI) TraceCall(ctx context.Context, args ethapi.TransactionArgs, blockNrOrHash rpc.BlockNumberOrHash, config *TraceCallConfig) (interface{}, error) {
// Try to retrieve the specified block
var (
err error
Expand Down
Loading

0 comments on commit 04b81b1

Please sign in to comment.