go-ethereum/ethclient/gethclient
Janko Simonovic 1a63a76fcc
ethclient/gethclient: fix bugs in override object encoding (#25616)
This fixes a bug where contract code would be overridden to empty code ("0x")
when the Code field of OverrideAccount was left nil. The change also cleans up
the encoding of overrides to only send necessary fields, and improves documentation.

Fixes #25615

Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-09-27 19:23:53 +02:00
..
gethclient_test.go ethclient/gethclient: fix bugs in override object encoding (#25616) 2022-09-27 19:23:53 +02:00
gethclient.go ethclient/gethclient: fix bugs in override object encoding (#25616) 2022-09-27 19:23:53 +02:00