internal/ethapi: merge CallArgs and SendTxArgs (#22718)
There are two transaction parameter structures defined in
the codebase, although for different purposes. But most of
the parameters are shared. So it's nice to reduce the code
duplication by merging them together.
Co-authored-by:
Martin Holst Swende <martin@swende.se>
Showing
- eth/tracers/api.go 1 addition, 1 deletioneth/tracers/api.go
- eth/tracers/api_test.go 10 additions, 10 deletionseth/tracers/api_test.go
- graphql/graphql.go 4 additions, 4 deletionsgraphql/graphql.go
- internal/ethapi/api.go 36 additions, 208 deletionsinternal/ethapi/api.go
- internal/ethapi/transaction_args.go 185 additions, 0 deletionsinternal/ethapi/transaction_args.go
Loading
Please register or sign in to comment