Skip to content

devnet-v1.2.0

Compare
Choose a tag to compare
@ebmifa ebmifa released this 23 May 00:50
· 6574 commits to main since this release
7ef210c

Highlights

  • [API behavioral changes] - rpc methods that result in errors of variant UserInputError, SuiRpcInputError, SuiError::TransactionNotFound or SuiError::TransactionsNotFound now return error code 32602 instead of 32000. #11833 #11928
  • Fixed a bug for get_coin_metadata which can return null when the fullnode is pruned #11971
  • sui::package::from_package<T>(self: &Publisher) and sui::package::from_module<T>(self: &Publisher) return true when T is a type introduced at any upgraded version of the package associated with self: &Publisher (rather than just the types initially present when that package was published).
  • Protocol version upgrade to version 11, including a framework upgrade:
    • std::type_name::get_with_original_ids is introduced as a new stdlib function to return a representation of the type where package IDs have all been normalized to "original" IDs (the ID of the first version of a package) in contrast to the default behavior of std::type_name::get which distinguishes types introduced at different versions of a package by assigning them the ID of the package that introduced them.
      #12026
      #12047
    • sui::package::from_package<T>(self: &Publisher) and sui::package::from_module<T>(self: &Publisher) return true when T is a type introduced at any upgraded version of the package associated with self: &Publisher (rather than just the types initially present when that package was published).
  • The sui CLI logging to file are now off by default but can be enabled by setting the env variable SUI_CLI_LOG_FILE_ENABLE=1 #12095.

Full Changelog: https://github.com/MystenLabs/sui/commits/devnet-v1.2.0