Skip to content

devnet-0.31.0

Compare
Choose a tag to compare
@ebmifa ebmifa released this 06 Apr 19:46
· 7292 commits to main since this release

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 a SuiDisplayFieldResponse 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 from Option<CheckpointedObjectID> to Option<ObjectID>, which also simplifies the type of nextCursor in the returned ObjectPage 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, iterating ObjectPages via getOwnedObjects 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, use QueryObjects with a checkpoint query instead. (See related code in #10275)
  • [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