Protocol
Sui Protocol Version in this release: 58
#19119: Unsigned integers now support .to_string() methods, for example 10u8.to_string() is the same as b"10".to_string()
GraphQL
#18774: Introduces .move
name resolution (internal & external) for GraphQL. Only supported on a non-mainnet environment for the time being.
#18017: Added a max_tx_payload_size
variable to protect against large transaction queries. The sum of txBytes + signatures
in all GraphQL mutation executeTransactionBlock
nodes or txBytes
in dryRunTransactionBlock
nodes from a query have to be below the max_tx_payload_size
. The max_tx_payload_size
is computed based on the protocol_version -> max_tx_bytes
and a Base64 overhead as follows: max_tx_bytes * 4 / 3
Added also a check that the overall query size is not larger than max_tx_payload_size
+ max_query_payload_size
, where max_query_payload_size
is the read
part of the query.
#19191: Removes support for multiple versions. GraphQL's version now aligns with the sui-node
version, and it drops support for the ServiceConfig.availableVersions
query.
CLI
#16626: Move will now lint against unnecessary math operations in many cases.
#19126: Move integer modules now have a bitwise_not
function and a max_value
macro function.