v0.9.0 of the Hedera JSON RPC Relay brings improvements to the eth_getBalance
and eth_getTransactionCount
as well as increased support for metrics and rate limiting.
eth_getBalance
was updated with support to filter search based on blockNumberOrTag
, thus allowing for historic balance queries against the Mirror Node.
eth_getTransactionCount
was updated to query the Mirror Node instead on consensus nodes, further more reducing the expenses by the relay.
The relay rate limit logic was expanded to include HBAR rate limiting. Now access to relay calls can be more evenly spread by rate limiting accounts based on HBAR consumption.
The SDKClient transaction and transactionRecord execution logic was updated to use TransactionRecordQuery
to help improve metrics and better capture costs for the relay account.
The Helm charts were updated to support rate limit configuration on deployment in kubernetes environments. With this relay runners can customize rate limit tier values and windows to their use case.
Multiple API response schema improvements were made to improve expected formats of outputs utilized by development client tools.
Enhancements
- Bump 0.9.0 #603
- Bump 0.9.0-rc2 #597
- Add TransactionRecordQuery calls to capture failed transaction costs (0.9) #596
- Bump 0.9.0-rc1 #588
- Fix constants. Set effectiveGasPrice to 0 if null #581
- Improve Koa and KoaJsonRpc classes #580
- Dapp Tests Workaround #579
- Add chart rate limit configuration support #578
- Add HBAR Rate Limit support #575
- Update Deployment Logic with Rate Limit Configs #571
process.env
variables areundefined
at the time ofconstants
module initializations #562eth_getTransactionReceipt
:effectiveGasPrice
has0xNaN
as value fornon-eth
transactions #561- Update acceptance test github action order #556
- Update acceptance test github action order #555
- Update eth_transactionaccount to use mirror #552
- update eth_getTransactionCount to call mirror node #550
- eth_getBalance search by blockNumberOrTag #549
- Rate limit test workaround #548
- Acceptance tests fail due to rate limiting logic #547
- Bump services 0.30 and mirror 0.65.0-beta1 #544
- bump acceptance test images for 0.30.0 release #543
- Bump 0-9-0 snapshot #538
- update nonce precheck logic #535
- Update
eth_getBalance
to filter search based on blockNumberOrTag #531 - Increase cohesion between koa and koaJsonRpc #530
- Add rate limit by HBAR support #528
Bug Fixes
- Nonce to 0 for Hedera native transactions #568
- Nonce is null for hedera native transactions #566
- return the evm address in the from field when calling getTransactionByHash #551
- ECDSA alias not returned in eth_getTransactionByHash response #505
eth_getTransactionByHash
yieldsnull
result #371
Full Changelog: https://github.com/hashgraph/hedera-json-rpc-relay/compare/v0.8.0...v0.9.0
Contributors
We'd like to thank all the contributors who worked on this release!