viem@2.58.10
- Version
viem@2.58.10- Repository
- wevm/viem
Release notes
Patch Changes
#5727 3c0353e1f0668b4f323fe6436915ef4fa1521a80 Thanks @tcoratger! - Fixed parseTransaction and parseAccessList accepting an access list entry that is not exactly [address, storageKeys] (EIP-2930), such as an entry with a third item.
#5723 cfa474d2208a88a0c96f258947214e7fe7cd7082 Thanks @jxom! - Fixed recoverAuthorizationAddress to throw InvalidSValueError, and verifyAuthorization to return false, for an EIP-7702 authorization whose s is above secp256k1n / 2.
#5726 c93fc31f7d7c616080a3710e74507ba4d7b48c46 Thanks @tcoratger! - Fixed parseTransaction accepting transaction integers with leading zero bytes (such as a nonce encoded as 0x0001 or zero encoded as 0x00), which now throw RlpNonCanonicalError.
#5725 a04f4def2b71490ad6ac0bc24e1f79f78df56959 Thanks @tcoratger! - Fixed parseTransaction accepting an EIP-7702 transaction with an empty to. EIP-7702 does not allow a null destination, so it now throws InvalidAddressError, like an EIP-4844 transaction.
#5732 7e421a3aa916fc4f752276b3b2f0d7069ae94287 Thanks @jxom! - Fixed recoverTransactionAddress to throw InvalidSValueError, now also exported from viem, for a typed or EIP-155 transaction signature whose s is above secp256k1n / 2, which EIP-2 makes invalid.
b02201b4cffa04273e829b13ecc1793d376b59cb Thanks @ampagent! - Updated ws to 8.23.1.