Skip to content

ox@0.14.69

Choose a tag to compare

@github-actions github-actions released this 21 Nov 00:43
· 246 commits to main since this release
e1634ac

Patch Changes

  • #706 ad49015 Thanks @jxom! - Fixed Authorization.toRpc (and so TransactionRequest.toRpc, Transaction.toRpc and the eip7702Auth of UserOperation.toRpc) to encode r and s as uint256 quantities without leading zeros, which geth-based nodes require.

  • #706 ad49015 Thanks @jxom! - Fixed BinaryStateTree.merkelize hashing a 32-byte zero value as an empty leaf, which did not match EIP-7864.

  • #706 ad49015 Thanks @jxom! - Fixed BlockOverrides.toRpc to encode prevRandao as a 32-byte hash.

  • #706 ad49015 Thanks @jxom! - Added requestsHash (EIP-7685) to Block.Block and Block.toRpc, so post-Prague blocks no longer lose it on a round trip.

  • #709 0cd7550 Thanks @jxom! - Accepted SIWE URIs with an authority and empty path.

  • #713 c7f9873 Thanks @jxom! - Fixed Siwe.validateMessage to assume the https scheme when the message omits scheme, per EIP-4361.

  • #709 0cd7550 Thanks @jxom! - Fixed Siwe.createMessage and Siwe.parseMessage to accept an IP literal domain with an optional port, such as [::1]:3000.

  • #709 0cd7550 Thanks @jxom! - Fixed Siwe.isUri to validate the authority of URIs that have a path, so Siwe.createMessage rejects a uri or resource such as uri://[::300.0.0.0]/p the same way it already rejected uri://[::300.0.0.0].

  • #706 ad49015 Thanks @jxom! - Fixed Siwe.createMessage and Siwe.parseMessage accepting a comma in scheme.

  • #706 ad49015 Thanks @jxom! - Fixed Siwe.createMessage to throw InvalidMessageFieldError when statement contains a carriage return, U+2028 or U+2029.

  • #706 ad49015 Thanks @jxom! - Fixed Transaction.toRpc to encode a legacy transaction's v without the one-byte limit, so EIP-155 transactions whose v is above 255 (chain IDs from 110) no longer throw Hex.IntegerOutOfRangeError.