Repository navigation
ox@1.8.19
Patch Changes
-
#693
d7b57e1Thanks @gomesalexandre! - FixedAuthorization.toRpc(and soTransactionRequest.toRpc,Transaction.toRpcand theeip7702AuthofUserOperation.toRpc) to encoderandsasuint256quantities without leading zeros, which geth-based nodes require. -
#690
3f1730cThanks @gomesalexandre! - FixedBinaryStateTree.merkelizehashing a 32-byte zero value as an empty leaf, which did not match EIP-7864. -
#704
9c3280bThanks @jxom! - FixedBlockOverrides.toRpcand the zodBlockOverridesschemas to encodeprevRandaoas a 32-byte hash. -
#703
b31cd5dThanks @jxom! - AddedrequestsHash(EIP-7685) toBlock.Block,Block.toRpcand theBlockzod schemas, so post-Prague blocks no longer lose it on a round trip. -
#712
a1641a2Thanks @HereForTheTechNFT! - FixedSiwe.validateMessageto assume thehttpsscheme when the message omitsscheme, per EIP-4361. -
#705
061ebb0Thanks @jxom! - FixedSiwe.createMessageandSiwe.parseMessageto accept an IP literaldomainwith an optional port, such as[::1]:3000. -
#695
ccbb1afThanks @gomesalexandre! - FixedSiwe.isUrito validate the authority of URIs that have a path, soSiwe.createMessagerejects aurior resource such asuri://[::300.0.0.0]/pthe same way it already rejecteduri://[::300.0.0.0]. -
#705
061ebb0Thanks @jxom! - FixedSiwe.createMessageandSiwe.parseMessageaccepting a comma inscheme. -
#705
061ebb0Thanks @jxom! - FixedSiwe.createMessageto throwInvalidMessageFieldErrorwhenstatementcontains a carriage return,U+2028orU+2029. -
#691
6b94083Thanks @gomesalexandre! - FixedTransaction.toRpcto encode a legacy transaction'svwithout the one-byte limit, so EIP-155 transactions whosevis above 255 (chain IDs from 110) no longer throwHex.IntegerOutOfRangeError. -
#694
f0aaee7Thanks @gomesalexandre! - Fixed theox/zodAuthorization.Signedschemas (and soTransaction.Eip7702) to accept RPCrandsvalues below2**248, which nodes send without leading zeros, decoding them to 32-byte hex likeAuthorization.fromRpcand encoding them back to quantities. -
#701
4c70533Thanks @Iamsohungrynow! - Fixed the zodSignature.Legacyschema to accept EIP-155vvalues above 255.