Repository navigation
ox@1.8.13
Patch Changes
-
#560
ca4d7b7Thanks @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. -
#558
e7600e0Thanks @jxom! - FixedAbiParameters.decodeacceptingintN/uintNwords outside the declared type's range andaddresswords with non-zero padding; it now throwsHex.IntegerOutOfRangeErrororAddress.InvalidAddressError, matching Solidity'sabi.decode. -
#539
24b4a3dThanks @jxom! - Typed theeth_fillTransactionresulttxas aOneOfunion so common fields likegasare readable as optional across all envelope types. -
#554
14ae9acThanks @jxom! - DeprecatedKeyAuthorizationisAdminand updatedaccountdocs for TIP-1137, which removes admin access keys at T14 while keeping their wire encoding decodable. -
#560
ca4d7b7Thanks @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. -
#560
ca4d7b7Thanks @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$.