mainnet-v1.84.22026-11-20
Sui v1.84.2 主网热修复上线,协议版本仍为 142,不涉及任何配置改动,全节点不受影响。
这次修复针对验证者节点:地址余额资金提取调度器存在一处分叉隐患。只发生在检查点执行快于共识路径的"落后"验证者身上——这类节点的调度器可能丢掉已跟踪账户的预留额度,随后一笔提取在本地被批准、却被委员会拒绝,导致该验证者偏离主链。修复后,被跳过的批次会一直保留预留,直到结算完成。
跟不上进度的验证者请尽快升级到 v1.84.2;运行正常的节点不受此问题影响。
mainnet-v1.84.12026-11-18
本版本对应协议版本 142。协议层把累加器写入、仅含 ID 的对象变更与未变动的共识对象一并计入交易 effects 大小限制,单笔交易最多 1024 个累加器事件,原定 141 的改动顺延至 142。groth16 验证键元素数与公钥输入数不符时报 EInvalidVerifyingKey,secp256r1ecrecover 遇 r+n 溢出的签名直接中止,不再返回验不过的密钥;同时新增 sui::clock::borrow() 与 sui::derivedobject::release,二进制大小限制改为可配置,deferownedobjectdoublespend 在测试网和主网启用。
节点侧:全节点索引完成即可读取检查点,省去最多 500ms 延迟;新增状态同步对冲延迟、RPC 快照保留等选项及配套指标,/health 支持 maxhistorylag 参数,检查点内容改分页下载。gRPC 修正游标越界的错误码,检查点订阅平均提前约 180ms,签名验证放宽 zkLogin 电路激活限制。
testnet-v1.84.12026-11-17
Sui 协议版本升至 142:141 版将累加器写入、仅含 ID 的对象变更和未改动的共识对象计入交易 effects 大小限制,并把单笔交易的累加器事件上限设为 1024,原定 141 的改动顺延到 142;deferownedobjectdoublespend 在测试网与主网启用。
框架侧新增 sui::clock::borrow(): &Clock,无需把 Clock 作为交易输入即可读取时间,且与同交易内的 Clock 时间戳一致;另新增 sui::derivedobject::release。groth16::verifygroth16proof 在验证键元素数量不符时直接以 EInvalidVerifyingKey 中止,secp256r1ecrecover 遇到 r + n 溢出的签名改为报 EFailToRecoverPubKey,不再返回验不过的公钥;二进制大小限制改为由协议配置下发。
节点方面:内嵌 rpc-store 的全节点索引完检查点即可读,延迟从最多 500 ms 降到约 180 ms;新增状态同步对冲延迟、检查点快照保留等可选配置与相应指标;/health 支持 maxhistorylag,索引落后过多时报告不健康;gRPC 修正游标语义并放宽 zkLogin 电路校验。
testnet-v1.84.02026-11-10
Sui 协议升级至 142。交易效果大小限制开始计入累加器写入、仅含 ID 的对象变更与未变动的共识对象,单笔交易最多 1024 个累加器事件,原定 141 的改动顺延至 142;测试网与主网启用 deferownedobjectdoublespend。Move 侧:groth16 验证密钥结构不符时改报 EInvalidVerifyingKey,secp256r1_ecrecover 遇到 r+n 溢出的签名直接中止,不再返回验不过的公钥;新增 sui::clock::borrow(),函数读时间不必再让调用方传入 Clock。节点方面,内嵌 rpc-store 的全节点在 checkpoint 索引完成后即可读取,延迟从最多 500ms 降到近乎即时,订阅平均提前约 180ms;新增状态同步对冲、RPC 快照保留等配置与指标,整段下载失败时改为分页拉取。gRPC 修正了游标越界的报错语义,zkLogin 验签也不再受当前电路激活规则限制。
devnet-v1.84.0预发布2026-11-09
Protocol
Sui Protocol Version in this release: 142
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/28230: groth16::verifygroth16proof now aborts with EInvalidVerifyingKey when the prepared verifying key does not contain exactly one more vkgammaabc element than the number of public inputs, instead of returning false.
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/28418: Adds sui::derived_object::release.
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/28544: Refactor to enable binary limits to be configurable via protocol config rather than hardcoded constants.
https://github.com/MystenLabs/sui/pull/28136: Protocol version 141 enables deferownedobjectdoublespend on testnet and mainnet.
Nodes (Validators and Full nodes)
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/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 rpcstoreindexer metrics: livesstfilessize, estimatelivedatasize, compactionreadbytes, and compactionwrite_bytes.
https://github.com/MystenLabs/sui/pull/28563: /health accepts an optional maxhistorylag 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.
https://github.com/MystenLabs/sui/pull/28566: State sync downloads checkpoint contents in pages when a full contents download does not complete.
gRPC
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/28443: Checkpoint subscriptions on full nodes with the embedded rpc-store deliver checkpoints about 180 ms sooner on average.
https://github.com/MystenLabs/sui/pull/28412: Signature verification accepts both supported zkLogin circuits regardless of the network's current circuit activation rules.
https://github.com/MystenLabs/sui/pull/28471: VerifySignatureRequest accepts checkaddressaliases to verify against address's current address aliases. The response sets addressaliaseschecked when the check was applied.
https://github.com/MystenLabs/sui/pull/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.
https://github.com/MystenLabs/sui/pull/28516: ListTransactions and ListEvents accept starttransactionindex and endtransactionindex, and ListEvents also accepts starteventindex and endeventindex, to start and end a query at a position inside its first and last checkpoint.
https://github.com/MystenLabs/sui/pull/28527: ListCheckpoints, ListTransactions, ListEvents, SubscribeTransactions and SubscribeEvents frames carry Watermark.cursorposition, the frame's resume point as a public ledger position. Use it to order frames and drop duplicates instead of comparing cursor bytes. kv-rpc List requests with an invalid filter fail with INVALIDARGUMENT even when nothing is left to scan. On a fullnode, a descending request whose startcheckpoint is below the pruning floor fails with BELOWEARLIESTAVAILABLE even when its before cursor is past the tip.
https://github.com/MystenLabs/sui/pull/28535: AffectedAddress transaction filters (list transactions, list checkpoints, and subscriptions) also match transactions sent by the address, including sponsored transactions that touch only shared objects. A filter whose AffectedAddress literals would expand it to more than 64 terms, summed across the terms that contain them (for example, seven AffectedAddress literals ANDed in one term), is rejected with INVALID_ARGUMENT. Sender(X) AND NOT AffectedAddress(X) now matches nothing, because AffectedAddress(X) includes transactions sent by X.
https://github.com/MystenLabs/sui/pull/28563: /health on the gRPC server accepts an optional maxhistorylag query parameter (see Nodes).
https://github.com/MystenLabs/sui/pull/28541: ListTransactions and ListEvents reject cursors minted by servers older than 1.83, including such cursors a 1.83 server returned, and every List method rejects cursors in the original cursor format, with INVALIDARGUMENT; restart such a scan from a ledger position instead. Every List frame's Watermark carries cursorposition.
GraphQL
https://github.com/MystenLabs/sui/pull/28426: transactions and events pages that are empty because the cursor lies past the beforeCheckpoint/afterCheckpoint bound now report hasNextPage: false (or hasPreviousPage: false), so clients that follow it no longer re-request the same page forever.
https://github.com/MystenLabs/sui/pull/28395: Signature verification accepts both supported zkLogin circuits and ML-DSA-65 multisig members independently of network activation rules. Scoped JWK and epoch checks still apply.
https://github.com/MystenLabs/sui/pull/28470: verifySignature accepts an optional checkAddressAliases argument. When it is true, the signature must be from one of author's current address aliases instead of from author itself.
https://github.com/MystenLabs/sui/pull/28483: transactions and events pages with both after and before cursors that contain nothing now report hasNextPage: false and hasPreviousPage: false with no cursors, so clients that follow them no longer re-request the same page forever.
https://github.com/MystenLabs/sui/pull/27666: transactions and events connections are always served by the ledger gRPC List APIs, so the service at --ledger-grpc-url must serve them (a kv-rpc archival service with the List APIs enabled, or a full node with rpc.enable-indexing). --enable-list-apis / --experimental-query-apis are ignored and will be removed in a future release. Previously-issued cursors remain valid.
https://github.com/MystenLabs/sui/pull/27723: GraphQL uses one pool of ledger-grpc-num-connections connections to the ledger gRPC servi
mainnet-v1.83.12026-11-04
Sui 1.83.1 更新:先说更正——11月4日至5日18:40 UTC 期间上传的压缩包误装了测试网构建(1.83.1-0e0ede4cbf48),已替换为主网构建 1.83.1-6a567faf6de1。测试网二进制在 epoch 1304 主网升级协议 141 后即停滞,若你的程序报告 0e0ede4cbf48,请重新下载并重启;Docker 镜像不受影响。
协议升至 141:细化交易 effects 的体积估算,并把单笔交易的 accumulator 事件上限压到 1024。同时落地一批此前在 140 期启用的改动:Move 函数返回的引用现在可直接用在 PTB 里;对象资金提取超额时改为执行期 Move abort(EObjectFundsInsufficient),不再等重执行;effects 不再携带交易依赖;新增 shuffleconsensuscommitblocks,按 leader 块摘要散列排序共识块;批量向量操作(replacerange、truncate 等)与 ID 泄漏校验器关闭也一并进入。
节点侧,tidehunter 为过期热索引 blob 保留最多 2 GiB 内存缓存,用 THINDEXBLOBCACHEBYTES 调整;验证者对提议给共识的用户交易字节做了限速,可用 consensus-transaction-pool.max-user-bytes-per-second 配置;状态同步改为分页下载 checkpoint 内容。gRPC 的 SimulateTransaction 在 gas 余额不足时返回结构化 ErrorInfo(INSUFFICIENTGASBALANCE),客户端可直接读出所需预算,不必再解析错误文本。
testnet-v1.83.12026-11-03
Protocol
Sui Protocol Version in this release: 140
https://github.com/MystenLabs/sui/pull/28271: Adds bulk vector operations: replacerange, keeprange, copyrange, removerange, and truncate
https://github.com/MystenLabs/sui/pull/27829: Adds bulk vector operations: replacerange, keeprange, copyrange, removerange, and truncate
https://github.com/MystenLabs/sui/pull/28144: Adds the shuffleconsensuscommit_blocks feature flag (devnet only in version 140). When enabled, consensus orders the blocks within each round of a commit by a hash seeded from the leader block digest instead of by authority index.
https://github.com/MystenLabs/sui/pull/28291: References returned from Move functions can now be used in PTBs.
https://github.com/MystenLabs/sui/pull/28265: Disables the ID leak verifier
https://github.com/MystenLabs/sui/pull/28290: Protocol version 140 enables checkobjectfundswithdrawinexecution on mainnet. Object funds withdrawals that exceed the available balance now fail with a Move abort (EObjectFundsInsufficient in sui::fundsaccumulator) instead of the post-execution InsufficientFundsForWithdraw error, and the failure is decided during execution rather than by re-execution.
https://github.com/MystenLabs/sui/pull/28410: Protocol version 140 enables disableeffectstx_dependencies on mainnet. Transaction effects no longer report transaction dependencies; the effects encoding retains an empty dependency vector, and object versions and per-object previous-transaction metadata are unchanged.
Nodes (Validators and Full nodes)
https://github.com/MystenLabs/sui/pull/28301: tidehunter nodes now keep up to 2 GiB of hot objects-index blobs in memory once they age out of the mmap window; set THINDEXBLOBCACHEBYTES=0 to disable or another value to resize.
https://github.com/MystenLabs/sui/pull/28413: Fullnodes no longer run ML-DSA-65 signature verification on networks where mldsa65_auth is off; such transactions are rejected at verification instead of after it.
https://github.com/MystenLabs/sui/pull/28313: validators now cap the user transaction bytes they propose to consensus, defaulting to two full blocks per second. Set consensus-transaction-pool.max-user-bytes-per-second to change it or consensus-transaction-pool.rate-limit-user-bytes: false to turn it off.
https://github.com/MystenLabs/sui/pull/28546: State sync downloads checkpoint contents in pages when a full contents download does not complete.
gRPC
https://github.com/MystenLabs/sui/pull/28314: When SimulateTransaction gas selection can't find enough SUI to cover the gas budget, the INVALIDARGUMENT error carries a google.rpc.ErrorInfo with reason INSUFFICIENTGASBALANCE (domain sui.io) and metadata owner, requiredBudget, coinBalance and addressBalance, so clients can read the required budget without parsing the message. If the server estimated the budget and the transaction fails in that estimation, the error instead reports the execution failure ("Transaction fails in simulation: …") with an ErrorInfo of reason TRANSACTIONEXECUTION_FAILED (metadata kind, command) and the ExecutionError detail.
https://github.com/MystenLabs/sui/pull/28345: SubscribeTransactions and SubscribeCheckpoints now fill effects object types, clever errors and event json when the read mask requests them, matching GetTransaction. ListTransactions and ListEvents requests below the node's retention now return OUTOFRANGE instead of INTERNAL.
https://github.com/MystenLabs/sui/pull/28308: kv-rpc's ListEvents, ListTransactions and ListCheckpoints no longer start and cancel a checkpoint lookup per progress watermark, the source of the toomanyinternalresets failures, and they are faster on large and sparse requests. While a scan finds no items, it sends a progress-only frame after every 256 buckets of scan work, where reopening a filter's scan past a gap counts as 50. Operators: the read-stage defaults change (table above), and the stage settings are renamed: chunk-size is max-seeks-per-read and min-split-size is min-seeks-per-split-read, with no alias, so old keys are ignored. On tx-seq-digest and the new tx-cp-resolve stage, seeks are buckets of 1,000 transactions rather than keys, and the new max-keys-per-read caps keys per read. New settings: ledger-history.watermark-beacon-buckets and max-keys-per-read. New metrics: kvrpcbigtablereadsstartedtotal and kvrpcbigtablereadsfinishedtotal. On full nodes and kv-rpc, ListCheckpoints, ListTransactions and ListEvents return OUTOF_RANGE for a starting cursor past the server's indexed tip, instead of an empty page whose cursor is behind the one sent; the request can be retried once the server catches up.
https://github.com/MystenLabs/sui/pull/28394: GetEpoch now lists mldsa65_auth among protocol feature flags.
https://github.com/MystenLabs/sui/pull/28391: ListTransactions and ListEvents cursors can be sent back in either ordering without skipping items. A page that resumes at its window's edge ends with the window's end reason and claims the window's edge checkpoint. These requests return OutOfRange instead of an empty or clamped result: a descending after cursor past the latest indexed checkpoint; and a descending ListTransactions, ListEvents, or ListCheckpoints request whose endcheckpoint is above the latest indexed checkpoint + 1, or whose startcheckpoint is above the latest indexed checkpoint with no endcheckpoint. On a pruning fullnode, every request that needs data below the pruning floor returns OutOfRange. A descending request with no startcheckpoint streams everything down to the floor, then a watermark at the floor, before the error.
GraphQL
https://github.com/MystenLabs/sui/pull/28249: Nullable, fallible multi-gets now return successful entries alongside indexed errors for failed keys instead of failing the entire batch. No schema changes or client migration are required.
https://github.com/MystenLabs/sui/pull/28362: Fix NameRecord.contents.json decoding and return only the NameRecord value in contents.bcs, matching contents.type.
https://github.com/MystenLabs/sui/pull/28343: Objects and packages resolved inside subscription, executeTransaction and simulateTransaction results no longer resolve to an unrelated object when the requested ID was not written by that transaction or checkpoint. Live subscription events now report the correct transactionModule.package.address.
https://github.com/MystenLabs/sui/pull/28355: Subscriptions resumed with after or afterCheckpoint no longer skip a checkpoint at the backfill-to-live handoff, and no longer drop the remaining matches in the resume cursor's checkpoint when the serving replica lags. A backfill waiting on a ledger that stops advancing now disconnects with the usual reconnect error after 3 minutes.
https://github.com/MystenLabs/sui/pull/28353: checkpoints with an after cursor at or below filter.afterCheckpoint, or a before cursor at or above filter.beforeCheckpoint, now returns the checkpoints within the bound instead of an empty page.
https://github.com/MystenLabs/sui/pull/28383: Transaction and event connections served by the List APIs no longer report hasNextPage: true (or hasPreviousPage: true) when a page exactly fits the remaining data, and paging backwards from a last + after page no longer skips the item at the after cursor.
https://github.com/MystenLabs/sui/pull/28394: protocolConfigs.featureFlags and featureFlag(key: "mldsa65_auth") now report the flag.
https://github.com/MystenLabs/sui/pull/28391: Transaction and event connections served by the List APIs derive hasNextPage/hasPreviousPage from the end reason. A page that resumes at its window's edge, or at the latest indexed checkpoint from a cursor other than that checkpoint's own boundary, reports no further
testnet-v1.83.02026-10-27
Sui 协议升至 140。Move 新增批量向量操作 replacerange、keeprange、copyrange、removerange、truncate,函数返回的引用现在可直接用于 PTB;ID leak 校验器停用。
主网上线两项变更:对象资金提取超出可用余额改为执行中直接 Move abort(sui::fundsaccumulator 的 EObjectFundsInsufficient),不再靠重执行判定;交易 effects 不再记录依赖,编码保留空向量,对象版本等元数据不受影响。共识侧新增 shuffleconsensuscommitblocks 开关(140 版仅 devnet),按 leader 哈希而非 authority 序号排序区块。
节点侧:tidehunter 对滑出 mmap 窗口的热对象索引 blob 保留最多 2 GiB 内存缓存,可用 THINDEXBLOBCACHEBYTES 调整;未启用 mldsa65_auth 的网络不再做 ML-DSA-65 验签,不符的交易直接在校验阶段拒绝;验证者限制提交共识的用户交易字节,默认每秒两整块,可用 consensus-transaction-pool 相关参数调整或关闭。
gRPC 错误更结构化:SimulateTransaction 余额不足时返回带 ErrorInfo 的 INVALIDARGUMENT,客户端无需解析文案即可读到所需预算;订阅接口补齐 effects 与事件 json;kv-rpc 列表扫描修掉 toomanyinternalresets 的诱因,大范围查询更快,超保留期改返 OUTOFRANGE。
devnet-v1.83.0预发布2026-10-26
Sui 协议升至 140 版本。Move 新增 replacerange、keeprange、copyrange、removerange、truncate 五个批量向量操作,Move 函数返回的引用现在可直接用于 PTB。主网启用 checkobjectfundswithdrawinexecution,超额提取改为执行中以 Move abort(EObjectFundsInsufficient)报错,不再靠事后重执行判定;同时启用 disableeffectstxdependencies,交易 effects 不再记录依赖。devnet 试点 shuffleconsensuscommit_blocks,按领导块摘要排序区块;ID 泄漏校验器已停用。
节点侧:tidehunter 为热对象索引 blob 保留最多 2 GiB 内存缓存,可用 THINDEXBLOBCACHEBYTES 调整或关闭;全节点在 mldsa65_auth 关闭的网络跳过 ML-DSA-65 验签;验证者限制提交共识的用户交易字节,默认每秒两个完整块。
gRPC 体验同步改善:SimulateTransaction 余额不足时返回结构化 ErrorInfo,客户端可直接读出所需预算;订阅接口补齐 effects 与事件 json,越界查询改报 OUTOFRANGE;kv-rpc 列表接口修复 toomanyinternal_resets,大范围扫描更快。
mainnet-v1.82.32026-10-21
Sui 协议升级至版本 139(仅 devnet):开启 enableforwardingaddresses 后,转发地址注册表作为隐式只读系统对象参与排序,可作为共享输入传入;非系统包输入按每字节读取成本的 1% 计费;存储返还可退部分从 1% 降至 0.01%(主网已在协议 138 上先行落地)。自协议 131 起,随机信标 DKG 错过超时轮次后不再直接关停随机性,只要本轮完成即可在 epoch 中途恢复。
节点侧变化不大:未开启修剪的全节点会自动清理上一 epoch 之前的 executedtransactiondigests,无需人工干预。gRPC 新增 x-sui-consistent-read-checkpoint 请求头,支持读到指定 checkpoint 再应答;SubscribeTransactions、SubscribeCheckpoints 现在按读取掩码补全 effects 类型、clever 错误与事件 json,与 GetTransaction 对齐,查询早于保留期的记录则返回 OUTOFRANGE。此外开始支持 ML-DSA-65 签名(SignatureScheme::MLDSA65 = 7)。
需留意两项破坏性变更:JSON-RPC 服务已从全节点移除,启动时会删除旧数据库;sui move test 中两个提现测试辅助函数改为直接接收 Withdrawal<T>,需用 testscenario::withdrawbalancefromaddress(funder, amount) 构造。