Sui mainnet upgraded to version V1.8.1

The Sui mainnet has been upgraded to version V1.8.1, which includes a number of fixes and optimizations. The key points of the upgrade are as follows:

#13124

Added zkLogin protocol configuration feature flags for testing to devnet, and uses updated proof verification logic for zkLogin signature verification.

#13417

The updated version has additional linter warnings related to collection comparisons in the Sui framework code (Bag, Table, and TableVec) when building the Move code. Note that this comparison is not a structural comparison based on the collection contents, which may be different from what you expect, so Sui now indicates this with a linter warning.

#12989

All transaction execution errors from execute_transaction_block in client-fault now return -32002 error code. If you encounter this error code, you most likely have a problem with your transaction entry.

Before the upgrade, when a transaction executed on RPC fails, you will receive a reminder that "at least 1/3 of the validation nodes of the transaction have unrecoverable errors" after the transaction fails to execute. After upgrading, you will receive an improved reminder: "The transaction execution failed due to a problem with the transaction input. Please check the errors and try again: {errors}", where {errors} is a string list of actionable errors. After you resolve the indicated error, your transaction should execute successfully.

#13194

When building Move code, additional linter warnings related to freezing (direct or indirect) of an object containing another (wrapped) object now appear. Freezing such objects prevents unwrapping of inner objects.

#12575

The details contained in error messages returned during dependency building may differ from previous error messages, but still contain similar details and information.

#12933

Updated assignment of error codes to support a clearer error reporting structure. An internal error generated while reading from an authorized party returns a -32603 error code. Client errors generated when reading from an authoritative party return a -32602 error code. The error string has not been modified.

#13312

Sui networking no longer needs to use the old algorithm to calculate package digests, so the — legacy-digest flag has been removed from the sui client upgrade and sui move build CLI commands.

Fix: use another default address: 005304c

Full changelog: https://github.com/MystenLabs/sui/commits/mainnet-v1.8.1


About Sui Network

Sui is an L1 public chain redesigned and built based on first principles, aiming to provide creators and developers with a development platform capable of hosting the next billion users in Web3. Applications on Sui are based on the Move smart contract language and are horizontally scalable, allowing developers to support a wide range of application development quickly and at low cost. Get more information: https://linktr.ee/sui_apac

Official website | English Twitter | Chinese Twitter | Discord | English Telegram group | Chinese Telegram group

Guess you like

Origin blog.csdn.net/Sui_Network/article/details/132585670