github MystenLabs/sui devnet-v1.85.0

pre-release2 hours ago

Protocol

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.

  • EndOfEpochTransactionKind has 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_RANGE with ABOVE_LATEST_AVAILABLE or BELOW_EARLIEST_AVAILABLE (metadata lowestAvailableCheckpoint) where it returned NOT_FOUND: GetPackage with at_checkpoint, GetCheckpointObjectProof, GetCheckpoint below a full node's lowest available checkpoint (the higher of its checkpoint and object pruning floors, near the tip on default full nodes), and GetTransaction, BatchGetTransactions and GetCheckpoint by digest whose checkpoint is known and below it. A digest lookup that finds nothing still returns NOT_FOUND.
  • Behavior change for object versions. On full nodes that prune object versions or were restored from a snapshot (the default setup), a GetObject / BatchGetObjects exact version the node no longer holds fails per item with OUT_OF_RANGE / BELOW_EARLIEST_AVAILABLE where it returned NOT_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 answer NOT_FOUND. On nodes that run the objects compactor (validators, and full nodes with num_epochs_to_retain = 0 on tidehunter builds), reads that need a replaced object version (an exact version below the latest, an earlier system-package version in GetPackage, transaction and checkpoint reads whose read mask needs one) return OUT_OF_RANGE / VERSION_NOT_RETAINED with no metadata; there, a version equal to the object's deletion or wrap, and any version of an object with no entry, answer NOT_FOUND.
  • Objects. GetObject and BatchGetObjects accept at_checkpoint (the object's state at the end of that checkpoint, refused outside the served range as above) and max_version (its newest version at or below the bound); at_checkpoint combined with version or max_version answers NOT_FOUND if the selected version was written after the checkpoint. Setting both version and max_version is INVALID_ARGUMENT. Full nodes need rpc indexes for max_version and at_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 as BELOW_EARLIEST_AVAILABLE, are per item. NOT_FOUND answers that resolve to a deletion or wrap carry an OBJECT_REMOVED ErrorInfo with the removal's version, kind and, when known, transaction. For V1-effects removals (early mainnet), a max_version between the removal's lamport version and its tombstone returns the last live version, where Postgres-backed GraphQL rootVersion returned null.
  • ListObjectVersions (new, streaming) lists one object's live versions (object) and deletions and wraps (removal) in either direction, bounded by start_version / end_version and start_checkpoint (inclusive) / end_checkpoint (exclusive). Every frame carries an opaque cursor, and the listing ends with a QueryEnd reason. Full nodes serve it within their retention window, starting at the object's oldest retained version; a range or after cursor below that fails with OUT_OF_RANGE / BELOW_EARLIEST_AVAILABLE.
  • Packages. GetPackage with version or at_checkpoint returns the requested version of a system package (such as 0x2) instead of its latest. On kv-rpc, GetPackage with no selector, GetDatatype and GetFunction answer as of the served height. GetDatatype and GetFunction return NOT_FOUND instead of INTERNAL for an unknown module, datatype or function. New MovePackageService.ListSystemPackages lists the system packages as of a checkpoint (default: the highest indexed checkpoint, or kv-rpc's served height), each at its latest version then.
  • ListPackageVersions reports each version's publish checkpoint in PackageVersion.checkpoint (unset before the server's history begins) and lists only up to the highest indexed checkpoint. With options (QueryOptions) or a checkpoint range (start_checkpoint inclusive, end_checkpoint exclusive) it pages by an opaque per-version cursor in either direction, accepts start_version / end_version, and sets end (QueryEnd); page-token listings are unchanged. With package_id unset it lists every package's versions in publish order, with PackageVersion.original_id. On a pruned full node a cursor listing covers only the versions the node stores, and a start_checkpoint or continuation below them fails with OUT_OF_RANGE / BELOW_EARLIEST_AVAILABLE; kv-rpc lists from genesis. Full nodes build the new packages_by_checkpoint rpc-store index when they open the store.
  • List bounds (ListObjectVersions, ListPackageVersions): a descending range or cursor past the server's tip fails with OUT_OF_RANGE / ABOVE_LATEST_AVAILABLE; an ascending listing runs through the tip and ends with LEDGER_TIP. With end_checkpoint set, only CHECKPOINT_BOUND means the range is complete.
  • Epochs and protocol configs. GetEpoch adds transaction_start_inclusive, transaction_end_exclusive, ended_in_safe_mode, system_epoch_info and epoch_commitments. kv-rpc GetEpoch returns NOT_FOUND for an epoch it has not served, and the running epoch's system_state as of its served checkpoint instead of the epoch-start snapshot. New LedgerService.GetProtocolConfig returns the protocol config of a given version, or of the current one.
  • kv-rpc settings. enable-object-at-checkpoint: true enables at_checkpoint, max_version, ListObjectVersions, OBJECT_REMOVED details and the running epoch's system_state; it needs the alpha kvstore_object_versions_by_checkpoint and kvstore_object_tombstones pipelines backfilled from genesis. enable-protocol-configs-v2: true serves GetProtocolConfig and GetEpoch.protocol_config from the kvstore_protocol_configs_v2 pipeline, backfilled from genesis. The archival service's served height includes the kvstore_packages_by_checkpoint and kvstore_system_packages pipelines, and the pipelines of each enabled setting. MovePackageService, GetEpoch and GetProtocolConfig read Bigtable through the per-request limiter. bigtable-min-pool-size defaults to 40 (was 4), or to bigtable-initial-pool-size if that is set lower; bigtable-initial-pool-size defaults to the larger of 40 and the minimum (was 10); both are capped at bigtable-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.

  • SuiEndOfEpochTransactionKind has a new FreezeListCreate variant.
  • 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.

  • EndOfEpochTransactionKind has 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.


Full Log: https://github.com/MystenLabs/sui/commits/devnet-v1.85.0

Don't miss a new sui release

NewReleases is sending notifications on new releases.