Releases: hashgraph/hedera-json-rpc-relay
v0.14.0
v0.14.0 of the Hedera JSON RPC Relay enhances support for subgraph by adding examples, documentation, tests and CI/CD workflow improvements. A new configuration parameter for using TLS at the network transport layer has been added. The getLogs
call has been enhanced to allow for multiple addresses. Lastly, we've reduced the number of calls by returning results from available data vs making an extra call for eth_getTransactionReceipt
and removed an unnecessary call in getLogEvmAddress
as an issue in mirror node was addressed.
There were also several bug fixes involving the format of the results of the getStorageAt
call and the retrieval of past event/ordering in the getLog
call.
Enhancements
- Add subgraph GitHub workflow and update the Readme #780
- Configmap fix env from change #767
- Issue490/postman testing addition #759
- Add a test values yaml for chart #745
- Add a test values yaml for chart #743
- Add config support for SDK transport security #741
- Update the subgraph example #737
- Add config support for SDK transport security #727
- Edit acceptance tests to work with >= 0.32.0 network node image #720
- eth_getLogs - add support for multiple addresses #719
- Bump Test Images version #718
- Add a github workflow for subgraph tests #709
- Add smoke tests for subgraph examples #708
- Add extended ERC20/ERC721 and Gravatar subgraph examples #706
- Use
evm\_address
of recently deployed contracts to populate the transaction receipt result #683 - Remove eth.getLogEvmAddress() #672
Bug Fixes
- Pad slot value on comparison #770
- Pad slot value on comparison #769
- Events not returned on getPastEvents call #750
- Return 32 byte 0 on empty state_changes array #738
- Handle empty state_changes array in contract details #733
- Failed to send/recv
storage
err=GetStorage() when testing with Foundry #732 - Events not returned on getPastEvents call #711
- eth_getLogs returns block in descending order instead of ascending #699
Dependency Upgrades
- Bump decode-uri-component from 0.2.0 to 0.2.2 in /dapp-example #760
- Bump minimatch, recursive-readdir and
@synthetixio
/synpress in /dapp-example #725
Contributors
Thank you to all the contributors who worked on this release:
@Ivo-Yankov, @dependabot[bot], @dimitrovmaksim, @georgi-l95, @lukelee-sl, @natanasow, and @rustyShacklefurd
Full Changelog: v0.13.0...v0.14.0
v0.14.0-rc1
Full Changelog: v0.13.0...v0.14.0-rc1
v0.13.1
v0.13.1 of the Hedera JSON RPC Relay is a minor release which improves the eth_getBalance
call to return more accurate historical balances for blocks that is up to 15 minutes before the latest block. In addition, there is a bug fix to improve handling of null or empty to
parameter in a transaction.
Enhancements
- eth_getBalance workaround #717
Bug Fixes
- Check
to
parameter ineth\_call
method #744
Contributors
Thank you to all the contributors who worked on this release:
@Ivo-Yankov, @georgi-l95, and @lukelee-sl
Full Changelog: v0.13.0...v0.13.1
v0.13.0-rc4
Full Changelog: v0.12.0...v0.13.0-rc4
v0.13.0
v0.13.0 of the Hedera JSON RPC Relay brings improvements to the way several problematic return values from the mirror node are handled. Also, the getLogs
call was improved to handle larger result sets.
Fixes for improved handling of null values and empty arrays when retrieving contract results from the mirror node were implemented in this release.
In addition the getLogs
call was improved to support pagination for results that are larger than the default result set size of 25 entries.
Acceptance tests were added to increase coverage or the eth_getStorageAt endpoint which allows state querying on a contract.
Enhancements
- Handle empty state_changes array in contract details (#733) #734
- Bump test sdk version #729
- Support pagination on getLogs requests #701
- rpc acceptance test for getStorageAt call #553
Bug Fixes
- Fix handling of null amount value when fetching transactions from the mirror node #715
null
value returned foramount
by MirrorNode for contract result queries #710- eth_getLogs returns only 25 results #673
Contributors
Thank you to all the contributors who worked on this release:
@dimitrovmaksim, @georgi-l95, and @lukelee-sl
Full Changelog: v0.12.0...v0.13.0
v0.13.0-rc3
Full Changelog: v0.12.0...v0.13.0-rc3
v0.13.0-rc2
Full Changelog: v0.12.0...v0.13.0-rc2
v0.13.0-rc1
Full Changelog: v0.12.0...v0.13.0-rc1
v0.12.0
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.
Enhancements
- Bump 0.12.0 #705
- Bump 0.12.0-rc1 #697
- Bump test images version and SDK version #696
- Add logic to handle missing transaction index #693
- Add intermittent gasPrice Buffer Logic #690
- Use evm_address from mirror node query of recently deployed contracts to populate the transaction receipt result #686
- Use evm_address from mirror node query of recently deployed contracts to populate the transaction receipt result #685
- Retry on failed request to mirror node #679
- bump 0.12.0-snapshot #670
- Developer mode #668
- Replace js-cache with lru-cache #666
- Add acceptance test for getStorageAt #664
- Explore js-cache alternative #658
- Add
eth_getStorageAt
acceptance test coverage #449
Bug Fixes
- Transaction Receipt fails to handle undefined transaction index #692
- hardhat deploy plugin fails on testnet relay #678
- Error when deploying on testnet and previewnet with truffle #669
- Revert reason is not sent back in transaction receipt #661
- Size limit on call result return value to view pure function #533
- eth_getStorageAt always returns 0x0000000000000000000000000000000000000000000000000000000000000000 #495
Dependency Upgrades
- Bump loader-utils from 2.0.2 to 2.0.4 in /dapp-example #691
- Bump loader-utils from 2.0.2 to 2.0.3 in /dapp-example #684
Full Changelog: v0.11.0...v0.12.0
Contributors
We'd like to thank all the contributors who worked on this release!
v0.12.0-rc1
Full Changelog: v0.11.0...v0.12.0-rc1