github MystenLabs/sui devnet-v1.25.0

latest releases: sui_v1.38.0_1731462442_ci, sui_v1.38.0_1731457113_rel_notes, testnet-v1.37.3...
pre-release6 months ago

Sui Protocol Version in this release: 45

Highlights

Protocol

#17335: When trading on DeepBook, lot_size is now min_size, the minimum quantity required for a trade. quantity_min_tick (a const, 1000) is now lot_size. Trade quantity must now be a multiple of quantity_min_tick rather than lot_size, allowing for a much granular trade size. No action needs to be taken by users.

#17380: This change updates the ascii module in the following ways:
Adds new methods to std::ascii:

  • ascii::append(&mut String, String)
  • ascii::is_empty(): bool
  • ascii::substring(&String, i, j): String
  • ascii::index_of(&String, &String): u64
  • ascii::to_uppercase(&String): String
  • ascii::to_lowercase(&String): String

These additions make the ASCII interface more similar to the UTF8 one.

Renames:

  • string::bytes() to string::as_bytes()
  • string::sub_string() to string::substring()

Additional changes:

  • updates std::type_name to use std::substring
  • removes use statements for implicit imports
  • renames constants from E_INDEX to conventional EIndexOutOfBounds

#17579: Added Sui native bridge package 0xb to the Sui framework, the bridge object 0x9 will be created in the next epoch after protocol upgrade.

GraphQL

#17332: Queries for historical versions of objects will now return data even if that version of the object is outside the available range.

#17338: Adds support for more understandable and ergonomic Move error codes in Move 2024.

#17577: Deprecated the exchange_rates and staking_pool resolvers on validator type, and added a staking_pool_id and exchange_rates_table resolver to correctly return the staking pool id and the wrapped exchange rates object.

CLI

#17322: Added automatic gas estimation feature for the Sui CLI. If gas budget is not provided, the tool will dry run the transaction to get a gas budget estimate, and then it will execute the transaction. That means that for all relevant commands the --gas-budget flag is now optional. Please note that this incurs a small cost in performance due to the additional dry run call.

#17484: Fixed a bug where the Move compiler could panic when instantiating an object outside of its defining module.

#17500: Move macro funs and associated features are now available in 2024.beta

#17552: Added more descriptive errors if modules are published with an unsupported binary version number for the given network.

Full log:

https://github.com/MystenLabs/sui/commits/devnet-v1.25.0

Don't miss a new sui release

NewReleases is sending notifications on new releases.