devnet-0.31.0
HighLights
- [JSONRPC Major Breaking Change] - We have replaced all uint64 and uint128 numbers with BigInt in all jsonrpc responses to preserve precision. This is a major breaking change, please update TS-SDK and Rust SDK to the latest version. #10129
- [Major Breaking Change] This release introduces some changes to how Sui calculates gas charges. For details see Gas Changes
- [New Feature] You can now upgrade Move packages using the Sui Client CLI command
sui client upgrade
. Read how to use it in our docs. - [Minor breaking change] - The format of proofs used by module
sui::ecvrf
were modified (see related crypto code in MystenLabs/fastcrypto#542, #10332). - [Minor breaking change] - The display field of
SuiObjectData
was replaced by aSuiDisplayFieldResponse
that has data and an error field to return the best effort rendition of display. (see related code in #10321) - [Minor breaking change] - syntax and semantic changes of
getOwnedObjects
- The syntax change simplifies the type of
cursor
argument fromOption<CheckpointedObjectID>
toOption<ObjectID>
, which also simplifies the type ofnextCursor
in the returnedObjectPage
the same way. - The semantic change is that
getOwnedObjects
now returns all latest object changes, including objects changes that are not yet included in a checkpoint. As a result, iteratingObjectPage
s viagetOwnedObjects
might return object data from “objects snapshot” across different checkpoints. This is especially notable for addresses with many, and constantly changing, objects. If you still want to read owned objects from “objects snapshot” at certain checkpoints like the latest checkpoint, useQueryObjects
with a checkpoint query instead. (See related code in #10275)
- The syntax change simplifies the type of
- [Performance improvement] - Offloading jsonrpc request to Tokio blocking thread to prevent slow request from blocking other requests #10438
Full log
https://github.com/MystenLabs/sui/commits/devnet-0.31.0
https://github.com/MystenLabs/sui/commits/devnet-0.30.0