Odaily Planet Daily News Sui mainnet has been upgraded to version V1.8.1, this upgrade includes a number of fixes and optimizations. The upgrade points are as follows:
- Added the zkLogin protocol configuration feature flag for testing to the development network, and uses the updated proof verification logic for zkLogin signature verification;
- Newer versions have additional linter warnings related to collection comparisons in Sui framework code (Bag, Table, and TableVec) when building Move code;
- All transaction execution errors from execute_transaction_block in client-fault now return -32002 error code. If the user encounters this error code, there is likely to be a problem in the transaction input;
- When building Move code, there are now additional linter warnings related to (direct or indirect) freezing of an object containing another (wrapped) object. Freezing such objects prevents the unwrapping of inner objects;
- details contained in error messages returned during dependency builds, which may differ from previous error messages, but still contain similar details and information;
- 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 is not modified;
- The Sui network no longer needs to use the old algorithm for calculating package digests, so the --legacy-digest flag was removed from the sui client upgrade and sui move build CLI commands.