github MystenLabs/sui mainnet-v1.39.4

latest releases: sui_v1.40.0_1734583250_ci, sui_v1.40.0_1734578053_rel_notes, sui_v1.40.0_1734572999_ci...
one day ago

Breaking change alert: Consistently encode binary data with Base64 in JSON-RPC

Protocol

Sui Protocol Version in this release: 70

#20336: v70 Enable probing for accepted rounds in round prober in consensus.

#20528: Enable smart ancestor selection in testnet for v70

Indexer

#20285: Deepbook indexer

#20349: A minor JSON RPC Read API fix to return package object properly.

#20467: Fix StructTag conversion for suix_queryEvents Indexer-RPC method

#20495: Switch DeepBook Indexer timestamp from on-chain timestamp to checkpoint timestamp.

#20453: Adds /all_historical_volume and /orderbook/:pool_name endpoints to the DeepBook Indexer API. /all_historical_volume retrieves the pools stored in the database and returns the volume for all pools within a time range. /orderbook/:pool_name retrieves the level and depth of the requested order book pool. The PR also updates the /get_historical_volume/:pool_id endpoint to read /historical_volume/pool_name.

#20504: Adds a get_net_deposits endpoint to the DeepBook Indexer API.

#20486: Adds coin_owner_kind column to coin balances tables.

GraphQL

#20346: Fix a bug when reading a dynamic object field value from an Owner, where the value returned would not be the latest version when the owner was queried without a root/parent version supplied.

#20340: Checkpoint has now a bcs field that represents the Base64 encoded BCS serialization of the CheckpointSummary data.

#20523: graphql changes to enable pruning, mainly around watermark

CLI

#20354: Fixed the sui validator display-metadata command bug for pending validators.

#20395: When issuing sui move new command, a .gitignore file will be added to the project's folder.

#20426: I added a warning when trying to publish/upgrade a package if the CLI falls behind more than two protocol versions than the network on which the package is about to be published/upgraded.

#20474: Support fully overriding the config directory during sui start.

#20472: Added the --data-ingestion-dir option to sui start to set a custom directory where to write the checkpoint files.

#20475: Added the flag --ignore-chain that works together with sui move build --dump-bytecode-as-base64 to bypass the need for a client.yaml file. This allows building to proceed without a network connection or active environment, but it will not be able to automatically determine the addresses of its dependencies. NB: --ignore-chain depends on --dump-bytecode-as-base64, so it cannot be used on its own.

#17115: Move will now lint against certain binary operations where the operands are identical, non-value expressions.

#20498: Compiler may generate slightly different errors as a result of the compilation process being more permissive with respect to parsing errors

#20511: Added the --committee-size argument to sui start and sui genesis to configure the number of validators to start with the local network / when generating a genesis.

#16479: Move will now lint against pairs of comparison operations that can be combined to a single comparison.

#19894: New Move module std::uq64_64 for larger-precision, fixed-point numbers

#20344: Add Conventions as comments to a new package when sui move new

JSON-RPC

#20488: Binary data for SuiEvent.bcs and DynamicFieldInfo.bcs_name is now encoded in Base64.


Full Log: https://github.com/MystenLabs/sui/commits/mainnet-v1.39.4

Don't miss a new sui release

NewReleases is sending notifications on new releases.