github hashgraph/hedera-mirror-node v0.70.0

latest releases: v0.117.0, v0.117.0-rc1, v0.116.1...
23 months ago

As part of HIP-406, the mirror node is adding a new account staking rewards REST API. This API will show the staking rewards paid to an account over time. The mirror node now also shows staking reward transfers in the transaction REST APIs (e.g. /api/v1/transactions, /api/v1/transactions/{id}, and the list of transactions in /api/v1/accounts/{id}). This can be useful to show which transaction involving your account after the staking period ended triggered the lazy reward payout.

GET /api/v1/accounts/{id}/rewards

{
  "rewards": [{
    "account_id": "0.0.1000",
    "amount": 10,
    "timestamp": "123456789.000000001"
  }],
  "links": {
    "next": null
  }
}

The REST API saw further improvements outside of staking. The accounts REST APIs now show a calculated expiration timestamp to mirror the HAPI CryptoGetInfo query. Previously expiration timestamp only shows up if explicitly sent via a transaction that supports it (mainly update transactions). Now if it's null we calculate it as created_timestamp.seconds + auto_renew_period. Every contract results endpoint was updated to include an address field for the EVM address of the created contract.

This release makes progress on being able to execute contract calls on the mirror node as outlined in HIP-584. A lot of the groundwork is being laid that will be further refined in upcoming releases.

Enhancements

  • Return evm address as address in state_changes #4943
  • Return evm address as address in state_changes #4942
  • Set ExpiryTimestamp based on CreatedTimestamp and AutoRenewPeriod #4914
  • Add AccountStakingRewardsTransfer to Monitor dashboard #4913
  • Every contracts results endpoint should include an address field for evm_address of the created contract #4910
  • Add a Citus Helm chart #4903
  • Add network status check to rosetta readiness check #4898
  • Add a new staging-lg environment #4897
  • Add mirror-node evm entry point #4894
  • Improve REST spec based integration tests #4892
  • Improve REST spec based integration test performance #4891
  • Calculate expiry_timestamp if null #4888
  • Bump versions for v0.70.0-SNAPSHOT #4885
  • Every contracts results endpoint should include an address field for evm_address of the created contract #4884
  • Add /api/v1/contracts/call REST API #4874
  • Add API Monitoring for REST API /accounts/{id}/rewards method #4853
  • Implement API method /api/v1/accounts/{id}/rewards . #4852
  • Add Staking Reward Transfers to REST API #4842
  • Rosetta readiness should check account balance file #4820
  • HIP-406 Account staking rewards API #4744
  • HIP-406 Show staking reward transfers in transactions API #4703
  • Add EntityAccess implementation #4632
  • Add implementation for EntityAccess interface #4615
  • Add implementation for BlockMetaSource and HederaEvmProperties #4518
  • Provide mirror-node implementations for HederaEvmProperties and BlockMetaSource interfaces #4503
  • Add implementations for state accessor interfaces #4468
  • Add Java controller for web3 related APIs #4466
  • Citus: Update Helm chart #2725

Bug Fixes

  • Fix NoClassDefFoundError in RecordFileParser (0.70) #4980
  • Split Gradle build in CI #4959
  • StackOverflowError during Gradle build #4928
  • Force s3 client to use path style request url #4904
  • Importer fails to download files from minio in local node #4902
  • Update Acceptance Test Max Retry Polling #4900
  • Fix Swagger Contract ID Path Property #4899
  • Fix stake period start for entity history #4896
  • Swagger UI does not interpolate contract id properly #4887
  • Empty and null uint256 values show up as 0x #4881
  • Acceptance tests fail on verifying token update transaction #4848
  • Empty and null uint256 values show up as 0x #4769

Dependency Upgrades

  • Bump Hedera SDK to 2.19.0 #4965
  • Bump junit-jupiter from 1.17.5 to 1.17.6 #4958
  • Bump cucumber-bom from 7.8.1 to 7.9.0 #4957
  • Bump swagger-annotations from 1.6.8 to 1.6.9 #4956
  • Bump software.amazon.awssdk:bom from 2.18.21 to 2.18.24 #4955
  • Bump jest-extended from 3.1.0 to 3.2.0 in /hedera-mirror-rest #4953
  • Bump github.com/onrik/gorm-logrus from 0.4.0 to 0.5.0 in /hedera-mirror-rosetta #4952
  • Bump prettier from 2.7.1 to 2.8.0 in /hedera-mirror-rest #4951
  • Bump eslint-plugin-jest from 27.1.5 to 27.1.6 in /hedera-mirror-rest #4950
  • Bump embedded.testcontainers.version from 2.2.11 to 2.2.12 #4949
  • Bump aws-sdk from 2.1258.0 to 2.1261.0 in /hedera-mirror-rest #4948
  • Bump gradle-docker-plugin from 8.1.0 to 9.0.1 #4935
  • Bump springdoc-openapi-webflux-ui from 1.6.12 to 1.6.13 #4934
  • Bump software.amazon.awssdk:bom from 2.18.20 to 2.18.21 #4933
  • Bump jest-junit from 14.0.1 to 15.0.0 in /hedera-mirror-rest #4931
  • Bump junit-jupiter from 1.17.5 to 1.17.6 #4926
  • Bump mathjs from 11.3.2 to 11.4.0 in /hedera-mirror-rest #4925
  • Bump jest from 29.2.2 to 29.3.1 in /hedera-mirror-rest #4923
  • Bump aws-sdk from 2.1248.0 to 2.1258.0 in /hedera-mirror-rest #4922
  • Bump software.amazon.awssdk:bom from 2.18.16 to 2.18.20 #4921
  • Bump swagger-ui-express from 4.5.0 to 4.6.0 in /hedera-mirror-rest #4920
  • Bump mathjs from 11.3.3 to 11.4.0 in /hedera-mirror-rest/monitoring/monitor_apis #4918
  • Bump grpc-bom from 1.50.2 to 1.51.0 #4917
  • Bump vertx-pg-client from 4.3.4 to 4.3.5 #4916
  • Bump tj-actions/changed-files from 27 to 34 #4915
  • Add GitHub Actions to Dependabot #4911
  • Bump testcontainers from 8.16.0 to 9.0.0 in /hedera-mirror-rest #4785

Contributors

We'd like to thank all the contributors who worked on this release!

Don't miss a new hedera-mirror-node release

NewReleases is sending notifications on new releases.