Repository navigation
fix(deps): update all dependencies - #454
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.57.19→2.58.1Release Notes
wevm/viem (viem)
v2.58.1Compare Source
Patch Changes
#5588
bdf936497e28d307be7a139e34727a3fbcac39faThanks @mortezashojaei! - AddedChainNotConfiguredErrorTypeandTransportNotConfiguredErrorTypesocreateClientResolver.ErrorTypenarrows on the namespaced error names.#5519
cf1071fb3fa469c7bcc61a29f3908f54ec9fb397Thanks @gomesalexandre! - Updated unavailable default RPC URLs for Klaytn, Klaytn Baobab, Metis, Shibarium, Puppynet Shibarium, TAC, TAC SPB Testnet, Mezo and Areon Network, and deprecatedareonNetworkin favor ofareum.#5579
ffdd25af4acd334b7f7f5c940d4c9195a36c69cdThanks @jxom! - UpdatedbaseandbaseSepoliablockTimeto 200 ms to match Base's 200 ms blocks, which lowers their defaultpollingIntervalto 500 ms.#5578
be73ffa779e69817ef9aea1a4db03f25ab6ad654Thanks @tydavid5! - Fixed the HTTP transport resolving withundefinedwhen the server replied to a request with an empty body, it now throws anHttpRequestErrorinstead.#5572
cb14298d7ecaca45a359b6a2fa68c1c35cfdc5caThanks @yinbowen-dc! - Fixed truncated ABI parameter heads being decoded from a stale position after a dynamic read.#5558
90e59ebbd05f331bc64047617e398f464dfa2b63Thanks @jxom! - FixedEIP1193ProviderRpcErrorto set its documentednameof'ProviderRpcError'(was'Error').#5595
0f738319d08625218dfa52b26fc9537d375b14edThanks @jxom! - Fixedfallbackranking so that a failing Transport no longer stays first when every sampled latency is 0 ms.#5586
d8cac52afda6574e276d1b99c6607448baab4d33Thanks @jxom! - Fixed malformed JSON from theipctransport escaping the socket data listener instead of rejecting pending requests.#5573
a44ad6cf1bf555ca3f13ef8f8e4045e3c9519de2Thanks @yinbowen-dc! - Fixed IPC framing being permanently desynchronized by stray closing braces between messages.#5582
591c7b91cbf3890f373f8f71befac60f4a9f6344Thanks @jxom! - Fixedipctransport subscriptions hanging and skippingonErrorwhen the socket closed or errored.#5581
612cea0e633236149fcf64d51860f28af6fb88e2Thanks @jxom! - Fixed Multicall3blockCreatedfor Core Dao (6988931), BOB (0), Shape (0), Shape Sepolia (0), Soneium (0), Soneium Minato (0), Celo Sepolia (0), and XDC Apothem (84333000).#5571
515d5a5fe6c0acc90fe82eede8593b6531a3cd60Thanks @yinbowen-dc! - Fixed right-side hex trimming to remove whole zero bytes without shifting nonzero nibbles.#5597
6c3e120f9b2132c1518995dd41650ff5e33d5eaaThanks @jxom! - Fixed socket clients so that dropping a client that will not reconnect closes its socket, and a failed request is no longer reported again on later disconnects.#5584
c8b2a59799dcb908e11691dc78c646f4311b098bThanks @jxom! - Fixed WebSocket and IPC unsubscribe requests hanging on socket failures or missing responses, without raising unhandled rejections when the result is not awaited.#5594
9d4822539a2029b0e024e73f0bf2521870b75944Thanks @jxom! - Fixedhttptransport batches to match replies to requests by id (also when the server echoes a numeric id as a string), so a reply withid: nullno longer gives other requests the wrong results.#5520
43f4b879c2fa78bb1f00301f8bcd827707ba6051Thanks @gomesalexandre! - Updated HPP Sepolia and Orderly Sepolia default RPC URLs and the Orderly Sepolia block explorer URL, and removed unusable HPP default WebSocket URLs.#5580
8a2bf7bf6d3059c383737b8d50b171149bfe33deThanks @jxom! - FixedcreateSiweMessageaccepting arequestIdwith a line break, which let it append fields such asResourcesto the signed message; it now throwsSiweInvalidMessageFieldError.#5583
53184e3c4164b7cb89f5dd7da30f2a8ec2056a56Thanks @jxom! - FixedwrapTypedDataSignatureand the ERC-7739signTypedDataaction producing signatures that ERC-7739 accounts rejected when a nested type sorted before the primary type.#5590
66b6f1f458ae1e8dde977984a5a1258836352d48Thanks @jxom! - FixeddecodeAbiParameters,hexToString, andbytesToStringdropping a leading U+FEFF (byte order mark) from decoded strings.#5556
4febd2254b53b9ebd692b1c7ed38e42558d3489cThanks @jxom! - FixedvalidateTypedData(and sohashTypedData,signTypedData,verifyTypedDataandrecoverTypedDataAddress) accepting a fixed-length array field such asuint256[2]whose value has a different number of elements, in any dimension or inside a struct array; it now throwsAbiEncodingArrayLengthMismatchError.#5587
26e438a2b7f64f38e559d1625a41a30ff35010b2Thanks @jxom! - Added the error types of the actions and helpers called internally toGetL1TokenBalanceErrorTypeandIsWithdrawalFinalizedErrorType, so propagated contract and RPC failures are described by those unions.v2.58.0Compare Source
Minor Changes
1f9d4ea9f581e4cd94662b900966c4345f7053b8Thanks @ampagent! - Implemented performance improvements across ABI encoding and decoding, event logs, RLP, hex and data utilities, formatters, request batching, IPC,multicall, and transaction preparation.Patch Changes
#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Bounded thewithCachecaches and the EIP-1559 network cache inprepareTransactionRequest, which grew by one entry per client.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Rejected pending IPC requests when the node closes the connection, and shared one IPC socket between requests and subscriptions whenreconnectis set.#5546
ffbbc7eb9b4cee8b81b9e3031d654d75a6bc514bThanks @gomesalexandre! - Fixed the Celo block formatter leavingtypeundefined on CIP-64 and deposit transactions, andmintunparsed on deposits, whenincludeTransactionsis set.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upformatLogby assigningargsandeventNameinstead of spreading them into the formatted log.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Read the dispute game and the finalized state concurrently with the proof submitter ingetWithdrawalStatus.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Estimated the priority fee concurrently with the block that detects the transaction type inprepareTransactionRequestwhen the chain has no fee hooks.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped updecodeAbiParametersby parsing parameters once per call, reading offsets, lengths and integers straight from the data, and tracking re-reads with a bitset.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upencodeAbiParametersandencodeFunctionDataby parsing parameters once per call, building the hex output in one pass, and caching function selectors per ABI item.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upformatTransactionand the OP Stack, Celo, and zkSync block formatters by building transactions withoutdeleteand formatting each block transaction once.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped uppadBytes,padHex,concatHex,trim,sliceHexandsizeby copying bytes withUint8Array.set, comparing characters by char code and stripping the0xprefix withslice.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upparseEventLogsanddecodeEventLogby preparing each event once per call, looking events up by selector, and readingaddress,uintandbytesNtopics directly.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upnumberToHexfor unsigned values,hexToNumberfor safe integers,bytesToNumberandbytesToBigIntfor unsigned values of up to 6 significant bytes, and signedhexToBigIntfor negative values.#5524
10d4ee2c6fb1b14d3e449ca186fab00cbde0dfe2Thanks @mortezashojaei! - FixedInvalidAbiEncodingTypeError,InvalidAbiDecodingTypeError, andInvalidSerializedTransactionTypeErrorto set their documentedname.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped uptoRlp,fromRlp,serializeTransactionandparseTransactionby encoding and decoding hex RLP directly from strings instead of converting through bytes.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Stopped requesting the latest block for legacy fees inprepareTransactionRequestwhen the chain has no fee hooks.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Queued batched requests in place and tracked a running batch size for split checks, so schedulingnrequests in one batch no longer copies the queuentimes.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Kept IPC message framing state acrossdataevents and concatenated each message once, so large IPC responses are no longer rescanned and copied on every chunk.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Appended calls tomulticallchunks in place instead of copying the chunk for every call, making chunking linear in the number of calls.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped uphashTypedDataandhashStructby computing each struct type hash once per call.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upbytesToHexby using the nativeUint8Array.prototype.toHexwhen the runtime has it, andstringToHexandstringToBytesby skippingTextEncoderfor ASCII strings of up to 64 characters.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Awaited the nonce from anonceManagertogether with the other parameters inprepareTransactionRequest, while still consuming it in call order.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Read the bridge addresses, fees, and token metadata concurrently in the ZKsyncdepositAction, and reused the bridge addresses instead of requesting them twice.#5548
2970f8c74816bdf25ef248c08edb648680195b4aThanks @gomesalexandre! - FixedgetGamesand the OP Stack actions built on it (getWithdrawalStatus,waitToProve,getTimeToProve,getGame,getL2Output) throwing aTypeErroron fault-proof chains that do not definedisputeGameFactory, by reading the factory address from the portal instead.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped upbytesToStringandhexToStringby reusing oneTextDecoder,normalizeSignatureby comparing characters directly, andformatUnitsby trimming trailing zeros without a regular expression.#5521
c368d8393edae7cb7f7bcdc09711bfc9e102bff2Thanks @jxom! - Looked up the in-flight request cache once instead of twice on deduplicated cache hits, halving the LRU refreshes per hit.#5547
73f5149b38fcf82975bc1bf8fdbab9b613db1476Thanks @gomesalexandre! - AddeddisputeGameFactoryto 10 OP Stack chains whose portals use fault proofs and updated Superseed's stale one, which fixed the withdrawal status actions on those chains.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - StoppedwaitForTransactionReceiptfrom starting to poll when itstimeoutfired during the first receipt lookup.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - GeneratedgenerateSiweNoncenonces fromcrypto.getRandomValues, since consecutive nonces previously shared 95 of their 96 characters.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Kept WebSocket and IPC clients reconnecting after a failed attempt, and dropped a client whose attempts ran out so the next request opens a new socket.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Requested the block and the priority fee concurrently inestimateFeesPerGaswhen the chain has no fee hooks, and stopped requesting the unused block for legacy fees.#5543
79966ad2370800a546b10150f192c79b81370321Thanks @jxom! - Sped uphexToBytesby decoding through a nibble lookup table straight into the output, andtoBytesby decoding0xstrings in one pass instead of checking them withisHexfirst.#5550
4bd026ac8088650fd98679c30de99641b75b9345Thanks @jxom! -viem/tempo: Added thet15hardfork toHardfork.#5545
076464179ad0a1c17576dc23f8c5695470e31219Thanks @brendanjryan! - Added TIP-1166 support toviem/tempochannels: theSignerSnapshotCachedevent andSignerConfigChangedandSaltNotSignerCommitmenterrors on the channel reserve ABI,channel.getOpenSalt, typedChannelSignerConfigChangedErrorandChannelSaltNotSignerCommitmentError, and a defaultsaltforchannel.openset to the voucher signer's configuration commitment when the signer is a configurable account or an access key of one.#5544
f390caa499468231e7b282400e683df9f79081d2Thanks @dmytrozahumennov-wb! - Added OP Stack config towhitechainand deprecatedwhitechainTestnet.v2.57.20Compare Source
Patch Changes
#5499
018d5605fb23612e0395f453dabd2c917e763ca4Thanks @jxom! - Updatedoxto0.14.67, which parses Tempo WebAuthn signatures in linear time and refuses those above 2048 bytes, refuses a keychain signature nested in a keychain signature, a key authorization scope withrecipientsand noselector, a compressed public key where a Tempo address is derived, and a Tempo transaction with avalidBeforeorvalidAfterthat is not a non-negative safe integer number, achainIdthat is not a positive safe integer, or a fee payer signatureyParityother than0or1, hashes the payload inSecp256k1.verifyofviem/tempowhenhash: trueis used withaddress, and refuses calldatawith an odd number of hex digits inviem/experimental/erc7821.#5512
fb861e2d3a0f576843a7e51070b8e91da0a0137eThanks @wavebyrd! - Fixed Multicall3blockCreatedfor Darwinia (251739) and Flow EVM Mainnet (968659).#5508
4b122ec322497536e77f8411d50636723aa971daThanks @erkancamli! - FixedgetTypesForEIP712Domainto include every domain field that is present (notundefinedornull), so that a domain with a stringchainId(e.g. from a JSON payload) is no longer hashed and signed withoutchainId.#5504
c05ab61850ffe305e12e85c2be154156ac39e8f7Thanks @jxom! - Fixed batchedhttpand multicall requests flushing beforewaitelapsed after an earlier batch was split atbatchSize.#5515
fb1687aa92faf11ae95d4bc6a98c08c0a5c23de7Thanks @jxom! - FixedpublicKeyToAddresssilently returning a wrong address for public keys that are not uncompressed (65 bytes with a0x04prefix), such as compressed keys; it now throwsInvalidPublicKeyError.#5514
9677703fc287efc59ef227f45332dc4f7d60e48aThanks @jxom! - CachedchecksumAddressresults by the lowercase address, so differently cased inputs no longer recompute the hash, and skipped theisAddresscache for checks that do not need a checksum.#5505
8d3f29e03333d40283811dc69dbd02cdee2bd354Thanks @jxom! - Fetched the nonce, block, and priority fee concurrently inprepareTransactionRequestwhen the chain has no fee hooks.#5511
5f60d1d8a604cf65b54f8ce0b8ac3ce6d3f4b6e6Thanks @backseats! - Replaced runtimeparseAbicalls incallwith literal ABIs, removing the human-readable ABI parser from bundles that only read contracts.#5513
1759adf32ddbfc68060e7cb3b05c889075b1d10dThanks @jxom! - FixedfromRlpaccepting non-minimal RLP length prefixes and length-prefixed single bytes below0x80, which now throwRlpNonCanonicalError.Configuration
📅 Schedule: (in timezone America/Argentina/Buenos_Aires)
* 0-3 */3 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.