You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.12.0 of the Hedera JSON RPC Relay brings improvements to gasPrice prechecks, mirror node query management, cache management and test coverage.
Occasionally it was witnessed that gasPrice calculations may be off by 1 tinybar when exchange rates change. During an eth_submitRawTransaction this provided an undesired user experience. To improve this, the relay supports a GAS_PRICE_TINY_BAR_BUFFER to allow closely prices transactions in range to make it through.
In failed EthereumTransaction scenarios the Mirror Node currently does not return a transaction index in the contracts results query. Previously this broke the expectations of a valid response value with the relay <-> mirror node interactions. As a work around the relay handles this scenario and allows for transaction receipts to still be returned.
The Mirror Node processes a record file / block every 2 seconds. This may sometimes mean requests to get info on transactions submitted less than 2 seconds ago may result in a not found. To manage this we added (on a 2nd attempt) retry logic to manage the need to wait for one more block time.
The js-cache was replaced with lru-cache package to support LRU capabilities and additionally caching logic. In this way the relay can customize the maximum number of items in cache and also the maximum time any objects may stay in cache.
A DEV_MODE mode option was added to the relay to allow support for customized local node behaviours. In this may features may be configured to prioritize local development in non production environments.
Acceptance tests were adde to increase coverage or the eth_getStorageAt endpoint which allows state querying on a contract.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
v0.12.0 of the Hedera JSON RPC Relay brings improvements to gasPrice prechecks, mirror node query management, cache management and test coverage.
Occasionally it was witnessed that gasPrice calculations may be off by 1 tinybar when exchange rates change. During an
eth_submitRawTransaction
this provided an undesired user experience. To improve this, the relay supports aGAS_PRICE_TINY_BAR_BUFFER
to allow closely prices transactions in range to make it through.In failed
EthereumTransaction
scenarios the Mirror Node currently does not return a transaction index in the contracts results query. Previously this broke the expectations of a valid response value with the relay <-> mirror node interactions. As a work around the relay handles this scenario and allows for transaction receipts to still be returned.The Mirror Node processes a record file / block every 2 seconds. This may sometimes mean requests to get info on transactions submitted less than 2 seconds ago may result in a not found. To manage this we added (on a 2nd attempt) retry logic to manage the need to wait for one more block time.
The
js-cache
was replaced withlru-cache
package to support LRU capabilities and additionally caching logic. In this way the relay can customize the maximum number of items in cache and also the maximum time any objects may stay in cache.A
DEV_MODE
mode option was added to the relay to allow support for customized local node behaviours. In this may features may be configured to prioritize local development in non production environments.Acceptance tests were adde to increase coverage or the
eth_getStorageAt
endpoint which allows state querying on a contract.Enhancements
eth_getStorageAt
acceptance test coverage #449Bug Fixes
Dependency Upgrades
Full Changelog: v0.11.0...v0.12.0
Contributors
We'd like to thank all the contributors who worked on this release!
This discussion was created from the release v0.12.0.
Beta Was this translation helpful? Give feedback.
All reactions