devnet-0.7.0
版本发布时间: 2022-08-18 04:35:20
MystenLabs/sui最新发布版本:testnet-v1.29.2(2024-07-18 08:23:12)
Move
- Added keccak256 native function.
- Removed object version from Move structs. And renamed
sui::object::Info
tosui::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.
- Sorry for the churn here. The intention of the
- 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.