Repository navigation
ox@0.14.61
Patch Changes
-
#561
f9e8a6eThanks @jxom! - FixedAbiItem.fromAbiresolving indistinguishable overloads, such asbytes32andbytes,uint256andint256, oruint256[]anduint256[2], to the last match. It now throwsAbiItem.AmbiguityError, and a selector selects the overload. An overload matches only an integer in its range or fixed bytes of its size. -
#559
4f5a87aThanks @jxom! - FixedAbiParameters.decodeacceptingintN/uintNwords outside the declared type's range andaddresswords with non-zero padding; it now throwsHex.IntegerOutOfRangeErrororAddress.InvalidAddressError, matching Solidity'sabi.decode. -
#555
c18169bThanks @jxom! - DeprecatedKeyAuthorizationisAdminand updatedaccountdocs for TIP-1137, which removes admin access keys at T14 while keeping their wire encoding decodable. -
#561
f9e8a6eThanks @jxom! - FixedTxEnvelopeEip1559.assert,TxEnvelopeEip4844.assert,TxEnvelopeEip7702.assert, andTxEnvelopeTempo.assertaccepting amaxPriorityFeePerGasabove a zeromaxFeePerGas. Theirdeserializefunctions now read an emptymaxFeePerGasas zero when a tip is set, so such a transaction throwsTransactionEnvelope.TipAboveFeeCapError. Zero fees now show in the error messages. -
#561
f9e8a6eThanks @jxom! - FixedTypedData.assertandTypedData.validateaccepting invalid struct names, such asuint7,bytes32orFoo.Bar, and invalid field types, such asuint,uint7,bytes0or an undefined struct, including in structs referenced only as array elements. They now throwTypedData.InvalidStructTypeErrorand the newTypedData.InvalidTypeError.TypedData.encodeTypenow includes struct names that contain `# ox.