go-ethereum/internal/ethapi
James Prestwich fd5d2ef0a6
internal/ethapi: quantity-encode storage keys in eth_getProof response (#27309)
This changes the eth_getProof method implementation to re-encode the requested
storage keys, canonicalizing them in the response. For backwards-compatibility reasons,
go-ethereum accepts non-canonical hex keys. Accepting them is fine, but we should
not mirror invalid inputs into the output.

Closes #27306

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-06-21 18:11:11 +02:00
..
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api_test.go internal/ethapi, les: use slices package for sorting (#27492) 2023-06-19 11:33:48 +02:00
api.go internal/ethapi: quantity-encode storage keys in eth_getProof response (#27309) 2023-06-21 18:11:11 +02:00
backend.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
transaction_args_test.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00
transaction_args.go internal,tests: replace noarg fmt.Errorf with errors.New (#27335) 2023-05-25 02:54:28 -04:00