Add comments why unprefixedHexToBytes
or bytesToUnprefixedHex
is used
#3996
Labels
unprefixedHexToBytes
or bytesToUnprefixedHex
is used
#3996
In some places in the monorepo we use
unprefixedHexToBytes
orbytesToUnprefixedHex
. Those are methods from util which are marked as deprecated. We still use those in certain places with in most/all cases an optimization argument. We should review where these deprecated are used, and if there are still arguments why we should keep using those, we should explicitly comment why this is used such that we dont accidentally change this.Will assign myself here, I think most of them were left as using the deprecated variant once we changed using those utilities from
ethereum-cryptography
to using our own exported variants from@ethereumjs/util
The text was updated successfully, but these errors were encountered: