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
JukLee0ira committed Aug 5, 2024
1 parent 9a40c26 commit fbb6014
Show file tree
Hide file tree
Showing 3 changed files with 235 additions and 227 deletions.
2 changes: 1 addition & 1 deletion eth/api_tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,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 fbb6014

Please sign in to comment.