Highlights
Sui Protocol Version in this release: 25
#13822:
Use ceremony-generated verifying key to verify proofs in zklogin
transaction. Upgrade protocol version to 25
that enables JWK
consensus and zkLogin flag for 3 OAuth providers.
#13422:
New compiler warnings surrounding unused constants are possible when building Move code with those elements.
#13695:
You can now convert the sui_sdk::error::Error::RpcError
response into a sui_sdk::error::JsonRpcError
response to determine whether the error is a client or transient error. After converting, you can inspect the code, message, and data of the error, and use the methods is_call_error
, is_client_error
, is_execution_error
, and is_transient_error
. You can find an example of this usage at sui-sdk/examples/json_rpc_errors.rs
. Note that transient errors now map to code -32050
, and -32001
is reserved for any unknown errors the RPC returns.
#13699:
Enabling the protocol-config flag narwhal_new_leader_election_schedule
for the new reputation-based leader election algorithm in Narwhal for enhanced fault tolerance and sets the bad node stake threshold value consensus_bad_nodes_stake_threshold
for mainnet.
#13675:
Updates the default output for the sui client new-address <KEY_PAIR_SCHEME>
command in the Sui Client CLI. The console now displays a well-formatted table with the key pair details. If you include the --json
flag (sui client new-address <KEY_PAIR_SCHEME> --json
), the console displays the JSON representation of the key pair details instead.
#13408:
Adds initial public(package)
support to Move 2024.alpha
. Instead of explicitly listing friend modules, you can now make function definitions public across the entire package. They are publicly available for any modules in that package, but you still cannot call them outside of that package.