Patch Changes
-
#5339
a864b864b8b9031d970910fb8247471924d09280Thanks @mortezashojaei! - FixedgetAbiItemto throwAbiItemAmbiguityErrorfor overloads that JavaScript cannot distinguish, such asbytesvsbytes32,uint256vsint256, anduint256[]vsuint256[2], while resolving distinguishable values by byte length and integer range. -
#5321
af062571382ec3631cf1901aeda9b58a87c8fad5Thanks @evanaronson! - Removed a trailing slash to the ZKsync explorer URL. -
#5358
179a53682d9bf2ac2b7a65a86ec312fca0c7c9a8Thanks @Turkchain1919! - Added Turkchain Mainnet (Chain ID: 1919) to the supported chains. -
#5375
bb12b94649962cd7f03c339c226399c614b49805Thanks @jxom! - FixeddecodeEventLogandparseEventLogsto decode anonymous event logs wheneventNamenames the event or every event inabiis anonymous, as withgetLogsandwatchEventgiven a single anonymousevent. -
#5364
8f2a79ba8b4d235a24c4c101f4ef04a824c3e429Thanks @jxom! - ccip: Applied the HTTP transport timeout (including its override) and 10 MiB response cap to CCIP-Read gateway requests, refused non-HTTP(S) gateway URLs (includingdata:URLs, which previously worked), and limited one lookup to 4 nested callbacks, 4 nested local batches, 256 gateway requests and 16 concurrent requests. -
#5372
f32ef6c41e623683b99989422eac7ac6cea5c107Thanks @jxom! - FixedestimateGasandestimateContractGasreturning a gas limit filled byeth_fillTransactionthat ignoredblockNumber,blockTag, andstateOverride. -
#5360
41801d827e339b96d1b4dd775f4dd379f17cc610Thanks @jxom! - Raised the default expiring noncevalidBeforefrom 25 to 270 seconds, cappedRelay.feePayerexpiring nonce windows at 300 seconds, addedTransaction.expiringNonceMaxExpiry, and replaced the random expiring noncevalidAfterwith a randomnoncediscriminator. -
#5360
41801d827e339b96d1b4dd775f4dd379f17cc610Thanks @jxom! - Fixed sponsoredprepareTransactionRequestfills keeping a requestedfeeTokenthat the fee payer did not sign, which made the fee payer signature invalid. -
#5378
cbdd61078378012368464c9b0e4a76804a5ea987Thanks @mmv08! - FixedfillTransactionandprepareTransactionRequestreturninggasPricenext to EIP-1559 fees on Anvil, which madeestimateGasandsendTransactionfail on Anvil 1.8.5 and later with "both gasPrice and (maxFeePerGas or maxPriorityFeePerGas) specified". -
#5346
7156f80f77c47c0a3f9df479b0a6e856029edb3bThanks @KieranAltman! - Updated HashKey Chain and HashKey Chain Testnet display names, native currency name, and block explorer URLs. -
#5373
ddc2d365d093793f9d8f5818743f169c98eed8d7Thanks @jxom! - Added an optionalnoncetoNonceManagerresetparameters, whichsendTransactionandsendTransactionSyncnow set to the consumed nonce when a send fails afterconsumereturned. -
#5371
035c519b6b6b3f179fa741953751a501f05132a2Thanks @jxom! - FixedparseTransactionto accept an EIP-7702 authorizationyParityfrom 2 to 255 so a serialized transaction parses back, and maderecoverAuthorizationAddressthrowInvalidYParityError(andverifyAuthorizationreturnfalse) for ayParityother than 0 or 1, which EIP-7702 treats as having no authority. -
#5318
57db085e896dfee3a3387fb7573bf7f7ebc6170dThanks @jxom! - FixedparseTransactionnot raisingTipAboveFeeCapErrorwhen the encodedmaxFeePerGasis zero. -
#5377
42c41ca3c42792e56a2e1f64d3007c28adc9fbbaThanks @mmv08! - FixedsendTransactionSyncandwriteContractSyncfailing at once and freeing the nonce when the node had accepted the transaction but stopped waiting for its receipt (eth_sendRawTransactionSyncerror code 4), even if the error had no transaction hash, and stoppedfallbackfrom sending that transaction to the next node. -
#5388
141f8c0ed7f5fdeafbfc514131781638e9340bd9Thanks @jxom! - AddedAccount.serializeandAccount.deserializetoviem/tempo, which store a configurable account (TIP-1107) as JSON and rebuild it with passkey owners that sign, andAccount.AddressMismatchErrorfor a version-zero config that does not derive the stored address. Added akeyAuthorizationoption to access key accounts, which attaches a signed key authorization to the account's transactions until the chain registers the access key. -
#5318
57db085e896dfee3a3387fb7573bf7f7ebc6170dThanks @jxom! - FixedmaxPriorityFeePerGasabove amaxFeePerGasof0nnot raisingTipAboveFeeCapErrororMaxFeePerGasTooLowError(including in actions that validate requests before calling the node, such ascallandestimateGas), and fixed fee error messages dropping0nvalues. -
#5370
18b6b9041ef9d19421d182e6b0ca4b1caf5be09eThanks @jxom! - FixedvalidateTypedData(and sohashTypedDataandsignTypedData) accepting field types that are not EIP-712 types, such asuint7,uint264,uint08,int0orbytes0, and field types that reference a struct missing fromtypes, including in structs only referenced as array elements; it now throwsInvalidTypedDataTypeError. -
#5345
b019bf82f2eb0927c375cbdd32bb9c06095edea3Thanks @Kropiunig! - FixedformatUserOperationReceipt(used bygetUserOperationReceiptandwaitForUserOperationReceipt) to formatnonceas abigint. -
#5381
5d11346a9be71deceb3ee4998cbc281a57c2887aThanks @jxom! - Limited the default catch-up ofwatchBlocksto 100 missed blocks, so a longer gap emits only the latest block. -
#5380
b650f56c15ea3f7a08a0e1f4afa178bfc206b576Thanks @mmv08! - FixedwatchBlocksandwatchBlockNumberskipping blocks over HTTP on fast chains such as Monad and Arbitrum, andwatchBlocksfalling behind while it caught up on missed blocks.