This release adds a highly requested feature: the mirror node now tracks the current account balance. Previously, the mirror node would store balance information whose source was a balance file that consensus nodes generate and upload every 15 minutes. As a result, balance information was always behind by up to 15 minutes for active accounts. We were able to figure out a way to track this information at scale with SQL in this release. The next release will actually expose this up to date account balance information on both /api/v1/accounts
or /api/v1/accounts/{id}
. In future releases, will look at adding live balances to /api/v1/balances
when no timestamp parameter is provided and track up to date token balances.
Work continues on HIP-513 Contract Traceability, with this release adding a few important items. Consensus nodes will, when first activating the sidecar mechanism, send migration records that includes all smart contract runtime bytecode and current storage values. The mirror node now supports receiving these special migration sidecars and updating its database with the migrated data. This paves the way for the mirror node to have the necessary information to execute smart contracts without modifying state in a future release. Also in this release we now show the contract initcode that was used to unsuccessfully create a smart contract in a new failed_initcode
field in the contract result REST API.
The network supply REST API saw an update to adjust the unreleased supply accounts used to calculate the unreleased supply. This change was necessary as Hedera adjusts the treasury accounts for use with staking.
Enhancements
- Update unreleased supply accounts (0.63) #4306
- Add failed initcode to Contract Result #4273
- Search transaction by hash Rest API #4254
- Search transaction by hash REST API #4253
- Store current account balance #4235
- Bump versions for v0.63.0-SNAPSHOT #4230
- Remove console.log() in REST API #4228
- Add failed_initcode to contract result #4191
- HIP 513 Add Sidecar Contract Migration #4172
- Store current account balance #4030
- HIP-513 Traceability migration #3982
Bug Fixes
- Fix importer performance regression caused by transaction hash index (0.63) #4347
- Cleanup duplicate entities in testnet (0.63) #4317
- Fix importer performance regression (0.63) #4311
- Fix error when there is no network stake in db (0.63) #4305
- Fix monitor not handling REST API connection failures on startup (0.63) #4300
- Fix monitor expression retry #4290
- Monitor expression doesn't retry #4289
- Fix null column violation when persisting entity updates #4280
- Fix data race condition in Rosetta #4277
- Concurrent map write in rosetta when setting entity to alias mapping #4276
- Importer fails to persist entity due to null non-nullable fields #4275
- Fix incorrect column default in EntityMetadataRegistry #4268
- Importer fails to insert a token due to incorrect default value of token type #4265
- REST API auto scaler triggers unnecessarily #4261
- Fix monitor not recovering after failure on startup #4257
- Add Blocks Hash Prefix Index to REST API #4255
- Fix circular dependency in importer #4237
- Importer fails to start due to circular bean dependency #4236
- Slow /api/v1/blocks/:blockHash API #4216
Dependency Upgrades
- Bump github.com/coinbase/rosetta-sdk-go from 0.7.10 to 0.7.11 in /hedera-mirror-rosetta #4287
- Bump vertx-pg-client from 4.3.2 to 4.3.3 #4286
- Bump software.amazon.awssdk:bom from 2.17.247 to 2.17.252 #4285
- Bump aws-sdk from 2.1189.0 to 2.1194.0 in /hedera-mirror-rest #4284
- Bump protobuf-java from 3.21.4 to 3.21.5 #4283
- Bump eslint-plugin-jest from 26.8.0 to 26.8.2 in /hedera-mirror-rest #4281
- Bump PostgreSQL JDBC from 42.3.6 to 42.4.1 #4256
- Bump evm from 22.4.4 to 22.7.0 #4252
- Bump github.com/jackc/pgtype from 1.11.0 to 1.12.0 in /hedera-mirror-rosetta #4250
- Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 in /hedera-mirror-rosetta #4249
- Bump github.com/hashgraph/hedera-sdk-go/v2 from 2.17.0 to 2.17.1 in /hedera-mirror-rosetta #4248
- Bump
@hashgraph
/proto from 2.8.0 to 2.9.0 in /hedera-mirror-rest/check-state-proof #4247 - Bump software.amazon.awssdk:bom from 2.17.243 to 2.17.247 #4246
- Bump
@hashgraph
/proto from 2.8.0 to 2.9.0 in /hedera-mirror-rest #4245 - Bump hibernate-types-52 from 2.17.1 to 2.17.3 #4244
- Bump aws-sdk from 2.1185.0 to 2.1189.0 in /hedera-mirror-rest #4243
- Bump grpc.version from 1.48.0 to 1.48.1 #4242
- Bump jest-extended from 3.0.1 to 3.0.2 in /hedera-mirror-rest #4241
- Bump cucumber.version from 7.5.0 to 7.6.0 #4240
- Bump eslint-plugin-jest from 26.7.0 to 26.8.0 in /hedera-mirror-rest #4239
- Bump sdk from 2.17.0 to 2.17.1 #4238
- Bump Maven and Maven Wrapper versions #4234
Contributors
We'd like to thank all the contributors who worked on this release!