This release has two new features:
build_transfer_transaction
rpc supports a new modePayWithAcp
to transfer UDT assets- a new rpc
get_account_info
is used to get account information
If you are using SDK to connect to mercury, you need to upgrade the SDK version to the new corresponding version.
In this version of the database creation script create_tabel.sql, the creation of three indexes has been removed, which greatly improves the database query performance.:
- namely index_indexer_cell_table_type_hash
- index_live_cell_table_type_hash
- index_cell_table_type_hash
For the database that has been established, we recommend that the above three index items be deleted manually.
Another suggestion to improve performance is to downgrade the version of the PostgreSQL database from version 14 to version 10. We found that the database query performance will also be improved.
No migration matters.
No migration matters.
Starting from 0.2.0, any address in the return value of mercury such as SignatureAction
and RecordID
will be encoded as new format full address. Meanwhile, the short address and old format full address will be deprecated.
All versions, except for v0.2.0-beta.4, need to clear the database and resynchronize the data.
Upgrading from v0.2.0-beta.4 version do not need to resynchronize data. However, it should be noted that the extra_filter
field of Record
strcuture add a new Freezed
type.
If you are using SDK to connect to mercury, you only need to upgrade the SDK version to v0.101.1, otherwise you need to adapt the Record
structure.