devnet-v1.2.0
Highlights
- [API behavioral changes] - rpc methods that result in errors of variant
UserInputError
,SuiRpcInputError
,SuiError::TransactionNotFound
orSuiError::TransactionsNotFound
now return error code32602
instead of32000
. #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)
andsui::package::from_module<T>(self: &Publisher)
returntrue
whenT
is a type introduced at any upgraded version of the package associated withself: &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 newstdlib
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 ofstd::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
#12047sui::package::from_package<T>(self: &Publisher)
andsui::package::from_module<T>(self: &Publisher)
returntrue
whenT
is a type introduced at any upgraded version of the package associated withself: &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 variableSUI_CLI_LOG_FILE_ENABLE=1
#12095.
Full Changelog: https://github.com/MystenLabs/sui/commits/devnet-v1.2.0