core/types: remove String methods from struct types (#16205)
Most of these methods did not contain all the relevant information inside the object and were not using a similar formatting type. Moreover, the existence of a suboptimal String method breaks usage with more advanced data dumping tools like go-spew.
Showing
- core/database_util_test.go 1 addition, 1 deletioncore/database_util_test.go
- core/types/block.go 0 additions, 35 deletionscore/types/block.go
- core/types/log.go 0 additions, 5 deletionscore/types/log.go
- core/types/receipt.go 0 additions, 8 deletionscore/types/receipt.go
- core/types/transaction.go 0 additions, 53 deletionscore/types/transaction.go
- internal/ethapi/api.go 2 additions, 1 deletioninternal/ethapi/api.go
- mobile/types.go 0 additions, 24 deletionsmobile/types.go
Loading
Please register or sign in to comment