Sui testnet-v1.84.1

Release 4 reads

Version
testnet-v1.84.1
Repository
MystenLabs/sui

Release notes

Protocol

Sui Protocol Version in this release: 142

#28590: Protocol version 141 counts accumulator writes, ID-only object changes and unchanged consensus objects toward the transaction effects size limit, and limits a transaction to 1024 accumulator events. The changes previously planned for version 141 move to version 142.

#28230: groth16::verify_groth16_proof now aborts with EInvalidVerifyingKey when the prepared verifying key does not contain exactly one more vk_gamma_abc element than the number of public inputs, instead of returning false.

#28241: Adds sui::clock::borrow(): &Clock to the Sui framework. It returns the Clock without it being a transaction input, at the same timestamp as a Clock passed into the same transaction, so functions can read the time without callers passing a Clock down. Available from protocol version 141 with the framework upgrade.

#28418: Adds sui::derived_object::release.

#28460: secp256r1_ecrecover now aborts with EFailToRecoverPubKey on a signature whose recovered x-coordinate r + n overflows, instead of returning a key that does not verify it. Honest signers never produce such a signature.

#28544: Refactor to enable binary limits to be configurable via protocol config rather than hardcoded constants.

#28136: Protocol version 141 enables defer_owned_object_double_spend on testnet and mainnet.

Nodes (Validators and Full nodes)

#28443: Full nodes with the embedded rpc-store make each checkpoint readable from their indexes as soon as it is indexed, instead of up to 500 ms later.

#28425: Adds the optional p2p-config.state-sync.checkpoint-content-hedge-delay-ms setting, which sends a slow checkpoint contents download to a second peer, hedges sooner around peers that are slow from this node, and prefers peers expected to answer soonest, plus metrics for checkpoint contents downloads by peer. Without the setting, behavior is unchanged.

#28559: Full nodes with the embedded RPC indexes enabled accept a new optional setting, authority-store-pruning-config.rpc-store-num-checkpoint-snapshots-to-retain (default 0, which keeps snapshots disabled). They also export new rpc_store_indexer_* metrics: live_sst_files_size, estimate_live_data_size, compaction_read_bytes, and compaction_write_bytes.

#28563: /health accepts an optional max_history_lag query parameter; when set, a full node reports unhealthy while its ledger-history indexes are more than that many checkpoints behind its live-object indexes, or if it has no RPC indexes at all.

#28566: State sync downloads checkpoint contents in pages when a full contents download does not complete.

gRPC

#28426: ListTransactions, ListEvents and ListCheckpoints requests whose after (ascending) or before (descending) cursor lies past the end of the requested checkpoint range now end with CheckpointBound instead of CursorBound, and their closing cursor resumes where the request's cursor does.

#28443: Checkpoint subscriptions on full nodes with the embedded rpc-store deliver checkpoints about 180 ms sooner on average.

#28412: Signature verification accepts both supported zkLogin circuits regardless of the network's current circuit activation rules.

#28471: VerifySignatureRequest accepts check_address_aliases to verify against address's current address aliases. The response sets address_aliases_checked when the check was applied.

#27712: sui-kv-rpc always serves ListCheckpoints/ListTransactions/ListEvents, and its served checkpoint height always includes the List API pipelines. The enable-list-apis and enable-experimental-query-apis config fields are ignored.

#28516: ListTransactions and ListEvents accept start_transaction_index and end_transaction_index, and ListEvents also accepts start_event_index and end_event_index, to start and end a query at a position inside its first and last checkpoint.

#28527: ListCheckpoints, ListTransactions, ListEvents, SubscribeTransactions and SubscribeEvents frames carry Watermark.cursor_position, the frame's resume…

Full release on GitHub ↗

Release viem

viem@2.58.4

Patch Changes • #5625 4357826238423ab3e18e7bc52a7952308ae224f0 Thanks @jxom! - Fixed viem/op-stack withdrawals on chains that move to a shared DisputeGameFactory in OP Stack Upgrade 22...

Release viem

viem@2.58.3

Patch Changes #5614 b4be930334b5a3eadc100abf1ad0d923f477f081 Thanks @mortezashojaei! - Fixed ccipRequest to include the gateway's EIP-3668 error message in HttpRequestError details...

Release Sui

Sui mainnet-v1.84.2

Sui v1.84.2: mainnet hotfix Sui Protocol Version in this release: 142 Validators • Fixes a fork in the address-balance funds withdraw scheduler. This only affects validators, and only...

Release viem

viem@2.58.2

Patch Changes #5601 bc5f35549f5e01fc6ea87571dd257cb7ad57a525 Thanks @jxom! - Stripped a trailing slash from a custom Arweave gateway when getEnsAvatar rewrites https://arweave.net...