Repository navigation
devnet-v1.85.0
Pre-releaseProtocol
Sui Protocol Version in this release: 144
#28542: Devnet accepts min_timestamp and max_timestamp in transaction expirations. Validators reject a transaction before its min_timestamp with a retriable error. A transaction executed after its max_timestamp aborts with TransactionExpired.
#28604: Adds protocol version 143 and enables a new execution version in it
#28599: Add flag to simplify nitro attestation parsing logic
#28605: Protocol version 143 disables forwarding addresses on devnet.
#28637: Protocol version 143 charges each Publish or Upgrade command in a transaction 1 SUI, plus 0.01 SUI per module and 0.01 SUI per dependency. The gas budget of a transaction that publishes or upgrades a package must cover this charge.
#28530: ML-DSA-65 (FIPS 204) account signatures, standalone and as multisig members, are enabled on testnet in protocol version 143.
#28678: Add a base charge for generating type layouts in native functions.
#28707: adds additional bounds to compliment existing runtime bounds.
#28726: Protocol version 144 enables the staggered-submission signal on all networks. Validators turn on staggered submission when consensus commits carry many duplicate transaction copies at high volume.
Nodes (Validators and Full nodes)
#28533: validators drop user-lane pool entries queued for at least consensus-transaction-pool: { max-queue-age-secs: N } seconds (default 60 when the key is absent or ~; 0 disables), resolving their submit with a retriable overload error. No action required.
#28519: Validators keep at most one pending transaction per owned gas object version and reject the lower-priced one with a new retriable OwnedObjectConflict error. Full nodes retry that error at another validator and do not count it against the validator.
#28684: Tidehunter full nodes refuse to start with authority-store-pruning-config.num-epochs-to-retain: 0 and rpc.enable-indexing: true; set num-epochs-to-retain above 0 or disable indexing.
#28597: /health's optional max_history_lag parameter is replaced by max_history_lag_seconds, which bounds the ledger-history index lag in seconds of chain time instead of checkpoints.
#28532: Adds an optional consensus_transaction_pool.max_pending_user_bytes setting that bounds the consensus pool user lane by total queued bytes (default 256 MiB; 0 disables it). No action required.
#28726: When staggered submission is on, a validator delays a transaction that names no allowed proposers by up to about 5 seconds, or rejects it, unless the validator is in the transaction's first slots. This applies to every copy, including a single submission. Full nodes send such transactions to the first slots. A validator operator can disable staggering on their validator with enable-staggered-submission-signal: false and a restart. The setting has no effect on a full node's submissions.
#28724: Validators can serve a subset of gRPC by setting rpc.enable-validator-rpc: true together with rpc.http-address (plaintext), rpc.tls (TLS on rpc.https-address), or both. The server includes subscription streams of the checkpoints the validator builds, usually delivered before the network certifies them. Fullnodes read their plaintext listen address from rpc.http-address. The top-level json-rpc-address still works when rpc.http-address is unset, but it is deprecated and logs a warning at startup; generated configs no longer include it.
gRPC
#28542: min_timestamp and max_timestamp in transaction expirations are whole Unix seconds. Simulate rejects fractional seconds.
#28681: Ledger reads that race checkpoint pruning report the data as pruned (OUT_OF_RANGE with BELOW_EARLIEST_AVAILABLE for list calls, NOT_FOUND for single gets) instead of INTERNAL, and lowest_available_checkpoint no longer reports checkpoints whose transaction data has already been pruned.
#28698: - FundsWithdrawal has a new source, FROZEN_ADDRESS, for seizing funds from a frozen address under a seize authorization. It sets the new seized_from and seize_auth fields instead of funder. Clients that match on the withdrawal source should handle it.
EndOfEpochTransactionKindhas a new kind,FREEZE_LIST_CREATE, for the system transaction that creates the coin regulation freeze list.- Neither is produced on any network yet.
#28597: /health on the gRPC server takes max_history_lag_seconds instead of max_history_lag (see Nodes).
#28577: - Refusals. Requests a node is not set up for return UNIMPLEMENTED with ErrorReason NOT_SERVED_HERE (cause no_rpc_indexes on full nodes without rpc indexes, disabled_by_config on kv-rpc with a setting off); do not retry them against the same node. On full nodes this replaces UNAVAILABLE for "rpc indexes are disabled" (ledger List methods, GetPackage, ListPackageVersions) and NOT_FOUND for StateService methods, GetEpoch for a past epoch and GetCheckpointObjectProof; such nodes report sui.rpc.v2.StateService and sui.rpc.v2alpha.ProofService as NOT_SERVING in grpc.health.v1. Temporary refusals return UNAVAILABLE with NOT_READY (cause index_empty before the rpc indexes commit a checkpoint, restore_backfill while a restored node backfills index history).
- Out-of-range reads. A checkpoint outside the served range returns
OUT_OF_RANGEwithABOVE_LATEST_AVAILABLEorBELOW_EARLIEST_AVAILABLE(metadatalowestAvailableCheckpoint) where it returnedNOT_FOUND:GetPackagewithat_checkpoint,GetCheckpointObjectProof,GetCheckpointbelow a full node's lowest available checkpoint (the higher of its checkpoint and object pruning floors, near the tip on default full nodes), andGetTransaction,BatchGetTransactionsandGetCheckpointby digest whose checkpoint is known and below it. A digest lookup that finds nothing still returnsNOT_FOUND. - Behavior change for object versions. On full nodes that prune object versions or were restored from a snapshot (the default setup), a
GetObject/BatchGetObjectsexactversionthe node no longer holds fails per item withOUT_OF_RANGE/BELOW_EARLIEST_AVAILABLEwhere it returnedNOT_FOUND, including versions below the object's latest live version that never existed. Treat it as "ask a node with more history". A version above the latest live version, a read that resolves to a deletion or wrap whose tombstone the node holds, and any read on a node that never pruned still answerNOT_FOUND. On nodes that run the objects compactor (validators, and full nodes withnum_epochs_to_retain = 0on tidehunter builds), reads that need a replaced object version (an exactversionbelow the latest, an earlier system-package version inGetPackage, transaction and checkpoint reads whose read mask needs one) returnOUT_OF_RANGE/VERSION_NOT_RETAINEDwith no metadata; there, aversionequal to the object's deletion or wrap, and anyversionof an object with no entry, answerNOT_FOUND. - Objects.
GetObjectandBatchGetObjectsacceptat_checkpoint(the object's state at the end of that checkpoint, refused outside the served range as above) andmax_version(its newest version at or below the bound);at_checkpointcombined withversionormax_versionanswersNOT_FOUNDif the selected version was written after the checkpoint. Setting bothversionandmax_versionisINVALID_ARGUMENT. Full nodes need rpc indexes formax_versionandat_checkpoint. A batch containing a read the server is not set up for (NOT_SERVED_HERE) or not ready for (NOT_READY) fails as a whole; other refusals, such asBELOW_EARLIEST_AVAILABLE, are per item.NOT_FOUNDanswers that resolve to a deletion or wrap carry anOBJECT_REMOVEDErrorInfowith the removal's version, kind and, when known, transaction. For V1-effects removals (early mainnet), amax_versionbetween the removal's lamport version and its tombstone returns the last live version, where Postgres-backed GraphQLrootVersionreturned null. ListObjectVersions(new, streaming) lists one object's live versions (object) and deletions and wraps (removal) in either direction, bounded bystart_version/end_versionandstart_checkpoint(inclusive) /end_checkpoint(exclusive). Every frame carries an opaquecursor, and the listing ends with aQueryEndreason. Full nodes serve it within their retention window, starting at the object's oldest retained version; a range oraftercursor below that fails withOUT_OF_RANGE/BELOW_EARLIEST_AVAILABLE.- Packages.
GetPackagewithversionorat_checkpointreturns the requested version of a system package (such as0x2) instead of its latest. On kv-rpc,GetPackagewith no selector,GetDatatypeandGetFunctionanswer as of the served height.GetDatatypeandGetFunctionreturnNOT_FOUNDinstead ofINTERNALfor an unknown module, datatype or function. NewMovePackageService.ListSystemPackageslists the system packages as of a checkpoint (default: the highest indexed checkpoint, or kv-rpc's served height), each at its latest version then. ListPackageVersionsreports each version's publish checkpoint inPackageVersion.checkpoint(unset before the server's history begins) and lists only up to the highest indexed checkpoint. Withoptions(QueryOptions) or a checkpoint range (start_checkpointinclusive,end_checkpointexclusive) it pages by an opaque per-versioncursorin either direction, acceptsstart_version/end_version, and setsend(QueryEnd); page-token listings are unchanged. Withpackage_idunset it lists every package's versions in publish order, withPackageVersion.original_id. On a pruned full node a cursor listing covers only the versions the node stores, and astart_checkpointor continuation below them fails withOUT_OF_RANGE/BELOW_EARLIEST_AVAILABLE; kv-rpc lists from genesis. Full nodes build the newpackages_by_checkpointrpc-store index when they open the store.- List bounds (
ListObjectVersions,ListPackageVersions): a descending range or cursor past the server's tip fails withOUT_OF_RANGE/ABOVE_LATEST_AVAILABLE; an ascending listing runs through the tip and ends withLEDGER_TIP. Withend_checkpointset, onlyCHECKPOINT_BOUNDmeans the range is complete. - Epochs and protocol configs.
GetEpochaddstransaction_start_inclusive,transaction_end_exclusive,ended_in_safe_mode,system_epoch_infoandepoch_commitments. kv-rpcGetEpochreturnsNOT_FOUNDfor an epoch it has not served, and the running epoch'ssystem_stateas of its served checkpoint instead of the epoch-start snapshot. NewLedgerService.GetProtocolConfigreturns the protocol config of a given version, or of the current one. - kv-rpc settings.
enable-object-at-checkpoint: trueenablesat_checkpoint,max_version,ListObjectVersions,OBJECT_REMOVEDdetails and the running epoch'ssystem_state; it needs the alphakvstore_object_versions_by_checkpointandkvstore_object_tombstonespipelines backfilled from genesis.enable-protocol-configs-v2: trueservesGetProtocolConfigandGetEpoch.protocol_configfrom thekvstore_protocol_configs_v2pipeline, backfilled from genesis. The archival service's served height includes thekvstore_packages_by_checkpointandkvstore_system_packagespipelines, and the pipelines of each enabled setting.MovePackageService,GetEpochandGetProtocolConfigread Bigtable through the per-request limiter.bigtable-min-pool-sizedefaults to 40 (was 4), or tobigtable-initial-pool-sizeif that is set lower;bigtable-initial-pool-sizedefaults to the larger of 40 and the minimum (was 10); both are capped atbigtable-max-pool-size.
#28721: SimulateTransaction now resolves a shared or party object passed by value to TransferObjects as mutable, so party objects can be transferred through simulate resolution. A Shared input's stated mutability (mutability, or else mutable) is now kept instead of being inferred. Clients that send mutable: false for a shared object they mutate, or mutable: true for Clock, Random or AccumulatorRoot, now get a failed simulation, matching execution. Clients that send mutable: true for a shared object they only read now take a write lock on it.
#28724: Validator RPC servers read the x-sui-finality-level request header (executed or certified, default certified). Methods served only at executed are refused at certified with UNIMPLEMENTED and NOT_SERVED_HERE cause uncertified_live_state. Every other sui.rpc method the validator does not serve is refused with cause no_rpc_indexes.
JSON-RPC
#28698: - Funds withdrawal inputs have a new withdrawFrom case, frozenAddress, with seizedFrom and seizeAuth fields.
SuiEndOfEpochTransactionKindhas a newFreezeListCreatevariant.- Neither is produced on any network yet.
GraphQL
#28698: - BalanceWithdraw has new seizedFrom and seizeAuth fields, set when withdrawFrom is the new FROZEN_ADDRESS value.
EndOfEpochTransactionKindhas a new member,FreezeListCreateTransaction.- Neither is produced on any network yet.
#28577: Epoch.systemPackages is read from the ledger gRPC service instead of Postgres. It resolves to null for an epoch the service cannot serve: one that starts below its earliest available checkpoint, or one whose system package versions it no longer stores. Point GraphQL at a ledger gRPC service (kv-rpc) that serves ListSystemPackages before upgrading GraphQL.
CLI
#28181: Move packages can configure project-wide compiler warning and lint levels through [warnings] and [lints] in Move.toml.
Rust SDK
#28698: Upgrades sui-sdk-types and sui-rpc to include WithdrawFrom::FrozenAddress and EndOfEpochTransactionKind::FreezeListCreate. Update to these versions before either appears on chain, since BCS decoding of an unknown variant fails.
Indexing Framework
#28624: The alpha kvstore_object_versions_by_checkpoint pipeline writes object_versions_by_checkpoint with a new row key, object_id || (u64::MAX - checkpoint). Operators who run this pipeline must, once every writer runs the new version or is stopped, drop and recreate the object_versions_by_checkpoint table, delete the pipeline's watermark_alt row, and backfill it from genesis.
#28642: Remote-store ingestion clients read the correct watermark path, so latest_checkpoint_number() returns the store's tip instead of 0.
#28646: Sequential pipelines now apply back-pressure to ingestion once max_pending_rows rows are pending, instead of buffering processed checkpoints without limit. The default max_pending_rows stays 5,000, but under back-pressure it now also limits batch size. Pipelines with many rows per checkpoint that rely on large batches should raise max_pending_rows.
#28654: A tasked indexer (--task) now starts when --pipeline excludes its sequential pipelines, instead of failing with "Sequential pipelines do not support pipeline tasks".
#28668: Indexer::pipelines() reports the pipelines that --pipeline enables, instead of none.