In Hedera Mirror Node 0.42 the Hedera Token Service gained new functionality including support for the new pause token transaction types as outlined in HIP-24. The importer can ingest the new token pause and unpause transaction types and update the token appropriately. Likewise, the token REST API was updated to show the new pause key and pause status.
Along those lines, the token REST API was also updated to show the token memo and a flag to show if it's deleted. Now when an account is dissociated from a token its supply will be properly updated to show the negative transfer. And if the token in that dissociate is of type NFT, all of the NFTs owned by that account will be properly marked as deleted. We also fixed issues with some special negative transfer amounts showing up in the transactions REST API.
API A new network supply REST API was added to show the released supply. Having the open source mirror node calculate and show the release supply avoids any single point of failure with the current system because a user could ask multiple mirror nodes and compare their answers (or run their own mirror node).
GET /api/v1/network/supply
{
"timestamp": "123456870.854775807",
"released_supply": 1800000000000000000,
"total_supply": 5000000000000000000
}
Continuing our theme of improving the Rosetta API, NFT support was added to the data and construction APIs. We took the time to convert it to a standard configuration library and reorganize the package structure to be flatter and more consistent. And contexts were added to every layer to enable proper cancellation and timeout support.
Enhancements
- Remove the 'Mirror' milestone prefix #2639
- Change network supply timestamp filter to less than equals #2608
- Update nodes in monitor #2606
- Add a network supply REST API #2604
- Support token transfer in token dissociate transactions #2603
- HIP 24 Token Pause Support #2602
- Bump versions for v0.42.0-SNAPSHOT #2575
- Rosetta NFT support #2574
- Add memo and deleted to token info endpoint #2570
- Network supply API #2569
- Support HTS pause transactions #2566
- Support disappearing balance by TokenDissociate of a deleted token #2548
- Add memo to tokens REST API #2522
- Rosetta NFT support #2250
Bug Fixes
- Fix notes bug in helm template (0.42) #2690
- Transactions REST endpoint should not show special NFT / token transfers #2578
Dependency Upgrades
- Bump axios from 0.21.4 to 0.22.0 in /hedera-mirror-rest #2627
- Bump eslint-plugin-jest from 24.4.2 to 24.5.2 in /hedera-mirror-rest #2626
- Bump testcontainers from 7.20.6 to 7.21.0 in /hedera-mirror-rest #2625
- Bump gorm.io/driver/postgres from 1.1.1 to 1.1.2 in /hedera-mirror-rosetta #2623
- Bump github.com/hellofresh/health-go/v4 from 4.4.3 to 4.5.0 in /hedera-mirror-rosetta #2622
- Bump boxen from 5.1.2 to 6.0.0 in /hedera-mirror-rest/check-state-proof #2621
- Bump jest from 27.2.2 to 27.2.4 in /hedera-mirror-rest/check-state-proof #2620
- Bump jest from 27.2.2 to 27.2.4 in /hedera-mirror-rest #2619
- Bump aws-sdk from 2.995.0 to 2.999.0 in /hedera-mirror-rest #2618
- Bump aws-sdk-mock from 5.3.0 to 5.4.0 in /hedera-mirror-rest #2617
- Bump eslint-plugin-jest from 24.4.2 to 24.5.0 in /hedera-mirror-rest #2616
- Bump jest-circus from 27.2.2 to 27.2.4 in /hedera-mirror-rest #2615
- Bump guava from 31.0-jre to 31.0.1-jre #2614
- Bump software.amazon.awssdk:bom from 2.17.46 to 2.17.51 #2613
- Bump springdoc-openapi-webflux-ui from 1.5.10 to 1.5.11 #2612
- Bump reactor-grpc-stub from 1.2.0 to 1.2.2 #2611
- Bump embedded.testcontainers.version from 2.0.14 to 2.0.15 #2610
- Bump jest from 27.2.2 to 27.2.4 in /hedera-mirror-rest/monitoring/monitor_apis #2609
- Bump hedera-protobuf-java-api from 0.18.0 to 0.18.1 #2601
- Bump guava from 30.1.1-jre to 31.0-jre #2600
- Bump aws-sdk from 2.991.0 to 2.995.0 in /hedera-mirror-rest #2599
- Bump jest-circus from 27.2.0 to 27.2.2 in /hedera-mirror-rest #2598
- Bump github.com/ory/dockertest/v3 from 3.7.0 to 3.8.0 in /hedera-mirror-rosetta #2596
- Bump github.com/hellofresh/health-go/v4 from 4.4.2 to 4.4.3 in /hedera-mirror-rosetta #2595
- Bump jest-junit from 12.2.0 to 12.3.0 in /hedera-mirror-rest #2594
- Bump jest from 27.2.0 to 27.2.2 in /hedera-mirror-rest/check-state-proof #2593
- Bump glob from 7.1.7 to 7.2.0 in /hedera-mirror-rest/check-state-proof #2592
- Bump yargs from 17.1.1 to 17.2.1 in /hedera-mirror-rest/check-state-proof #2591
- Bump testcontainers from 7.20.4 to 7.20.6 in /hedera-mirror-rest #2590
- Bump jest from 27.2.0 to 27.2.2 in /hedera-mirror-rest #2589
- Bump mathjs from 9.4.5 to 9.5.0 in /hedera-mirror-rest #2588
- Bump nodemon from 2.0.12 to 2.0.13 in /hedera-mirror-rest #2587
- Bump spring-boot-starter-parent from 2.5.4 to 2.5.5 #2586
- Bump jest from 27.2.1 to 27.2.2 in /hedera-mirror-rest/monitoring/monitor_apis #2585
- Bump spring-cloud-dependencies from 2020.0.3 to 2020.0.4 #2584
- Bump software.amazon.awssdk:bom from 2.17.42 to 2.17.46 #2583
- Bump mathjs from 9.4.5 to 9.5.0 in /hedera-mirror-rest/monitoring/monitor_apis #2582
- Bump sdk from 2.0.14 to 2.1.0 #2581
- Bump grpc.version from 1.40.1 to 1.41.0 #2580
- Bump nodemon from 2.0.12 to 2.0.13 in /hedera-mirror-rest/monitoring/monitor_apis #2579
Contributors
We'd like to thank all the contributors who worked on this release!