go-ethereum icon indicating copy to clipboard operation
go-ethereum copied to clipboard

callTracer: clear createdAddress to nil in case of failure

Open s1na opened this issue 2 years ago • 1 comments

As of https://github.com/ethereum/go-ethereum/pull/25971 in case a call frame of type CREATE fails it will clear the to field to the zero address instead of displaying the created address. This can be confusing however because the zero address is a valid address. It needs to change so the field is set to nil instead.

s1na avatar Oct 31 '22 08:10 s1na

Is this still a TODO @s1na ?

holiman avatar Feb 21 '23 08:02 holiman