When formatting a transaction in 4.x, it it not more set to null
if not provided or invalid
#6332
Labels
4.x
4.0 related
null
if not provided or invalid
#6332
When formatting a transaction in 1.x it used to be set to
null
if it was not provided or was not a valid address (being 0x for example), but in 4.x it is kept asundefined
if it was not provided.web3.js/packages/web3-core-helpers/src/formatters.js
Line 260 in 4e5afa1
This is a breaking change that was not documented.
Do we like to keep this change, and document it? Or to keep the old behavior?
Hint: This breaking change required the following changes in this commit, for example: handle when tx.to is undefined instead of null
The text was updated successfully, but these errors were encountered: