mainnet-v1.34.2
Protocol
Sui Protocol Version in this release: 60
#19014: Fail fast on invalid public inputs to Groth16 zk-proof verification. Add a flatten
Move function, which flattens a vector of vectors into a single vector. This introduces a new protocol, version 59
.
#19310: Increase the maximum type layout size in the VM. Most users should not notice this change.
#19446: Transactions that include unparseable types will not be signed by validators from protocol 60
onwards.
Nodes (Validators and Full nodes)
#19438: sui_getTransactionBlock
and sui_multiGetTransactionBlock
JSON-RPC endpoints will now heed the showRawEffects
option and return the BCS representation of the transaction effects.
Indexer
#19196: Adds a cred before the next deployment to enable uploading.
#19355: Index the addresses affected by a transaction (either because they are a sender or a recipient of the transaction).
#19447: Index the objects affected by a transaction (either because they are an input object or are changed by the transaction).
GraphQL
#19410: GraphQL only supports one version instead of beta, stable, legacy
. This change removes the previous routes and only allows for /
and /graphql,
which will always point to the latest version.
#19371: Introduce staging.graphql
. This schema includes changes being developed and tested but not yet productionised.
#19430: Deprecates TransactionBlockFilter.signAddress
, replacing it with TransactionBlockFilter.sentAddress
, which behaves identically. Similarly AddressTransactionBlockRelationship.SIGN
is deprecated and replaced by AddressTransactionBlockRelationship.SENT
.
#19446: MoveType
can fail to provide a layout or abilities in cases where it represents an unparseable type.
CLI
#19312: Fixes a bug where the CLI would write out a config with a relative path for the keystore that would only work if the CLI was subsequently called from the same directory that the config was first created in.
#16875: Move lint will now warn against loops without
breakor
return`
#16856: Move will now lint against unnecessary conditionals, if-else
expressions.
#18636: Improve error and status messages for sui move build
.
#19374: Added debug prints for preparing a tx and executing it. Similarly, adds debug prints for executing a dry run. Use RUST_LOG=debug sui
to see the extra information printed on the terminal.
#19375: The CLI switched to using WaitForEffectsCert
in the quorum driver for transaction execution. Due to this, it simulates WaitForLocalExecution
via polling as JSON RPC ignores WaitForLocalExecution
requests now.
#19436: the indexer
feature was removed from the sui
crate as the dynamic linking to libpq
was removed. Therefore, the sui-pg
binary will not be part of releases anymore. This sui-pg
binary was used for starting a network with --with-indexer
and --with-graphql
flags. These commands will still work as before and it is still required to have installed a Postgres database. If you used sui-pg
binary previously, you can simply use sui
binary from this version on.