v0.99.0 #7835
steven-sheehy
started this conversation in
Releases
v0.99.0
#7835
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release contains the implementation of HIP-873 adding token decimals to the REST API. Previously users had to make
N + 1
queries to determine accurate token balance information by querying/api/v1/accounts/{id}/tokens
once and/api/v1/tokens/{id}
N
times to get the relevant decimal information. This HIP addsdecimals
to both/api/v1/tokens/{tokenId}/balances
and/api/v1/accounts/{id}/tokens
so that decimal information is directly returned alongside the token relationships and the additionalN
queries are unnecessary. It also addsname
anddecimals
fields to the/api/v1/tokens
response to expose more of the existing token information on that API.The
/api/v1/contracts/call
REST API now supports a configurablehedera.mirror.web3.evm.maxDataSize
property so that mirror node operators can adjust how large of a payload they wish to support. The default value for the max data size was increased from24 KiB
to25 KiB
for creates and from6 KiB
to25 KiB
for calls. This change makes it possible for view functions with large inputs like oracles to now work on the network.There were a few items to improve the performance and security of the mirror node. A new
hedera.mirror.importer.downloader.maxSize=50MiB
property controls the maximum stream file size it will attempt to download. This protects the mirror node against large files uploaded accidentally or via malicious actors. The importer was refactored to support batch stream file ingestion so that it is possible to process multiple stream files in one transaction. This will help pave the way for future enhancements like improving historical synchronization times.The database saw a number of improvements including new setup documentation with recommendations for how to configure the database. Our Citus deployment had some notable additions including a huge improvement in performance by adjusting its resource configuration. The Stackgres version was upgraded to 1.8 and ZFS to 2.4.1. The entity stake calculation was optimized for Citus so it runs efficiently in a sharded database. Finally, database metrics were fixed so that partitioned tables are appropriately aggregated under the parent table name.
Enhancements
StreamFile.items
fromFlux
toCollection
#7708maxSize
property to downloader #7703Bug Fixes
Documentation
Dependency Upgrades
@aws-sdk
/client-s3 from 3.511.0 to 3.515.0 in /hedera-mirror-rest #7775@testcontainers
/postgresql from 10.6.0 to 10.7.1 in /hedera-mirror-rest #7715@aws-sdk
/client-s3 from 3.504.0 to 3.511.0 in /hedera-mirror-rest #7714Contributors
We'd like to thank all the contributors who worked on this release!
This discussion was created from the release v0.99.0.
Beta Was this translation helpful? Give feedback.
All reactions