Skip to content

Sui 0.7.0 devnet release

Compare
Choose a tag to compare
@ebmifa ebmifa released this 17 Aug 20:35
· 12294 commits to main since this release

Move

  • Added keccak256 native function.
  • Removed object version from Move structs. And renamed sui::object::Info to sui::object::UID
    • Sorry for the churn here. The intention of the Info renaming was to capture the fact that there was a unique ID alongside some other metadata. But with the removal of that metadata, this naming no longer makes much sense.
  • Implemented one-time witness pattern.
    • This pattern can be used to guarantee a certain function is called at most once for a given type parameter. Thought it is highly constrained.
    • This will be used to guarantee there can be only one instance of a treasury cap for a given coin.

Tools and Ecosystem

  • Explorer
    • Added go-to-definition ability in the package view.
    • Re-designed object details view, address view, and transaction details view.
  • Browser Extension Wallet
    • Re-designed NFT tabs, NFT details page, and NFT transfer page.
    • Re-designed activities page.
    • Display version number in the Settings menu.
    • Optimize transferring SUI token by combining coin split and transfer into one transaction.

Sui Core

  • Fixed memory leak in fullnodes.
  • Fixed various bugs on validators: issues related to transfer SUI with insufficient gas balance; objects digest mismatch after a failed transaction. Improved error message clarity across the board.

Narwhal (selected Sui-relevant highlights)

  • Use Task groups to make sure we do not leave a node alive with some crashed key components.
  • Batch retrieval now works even when batches are identical
  • The Executor retrieves needed blocks in bulk, as opposed to one-by-one, and delivers them in the order they were sequenced, as opposed to the order they were received.
  • Leader election now rotates over all the leaders, rather than half the roster.