Skip to content

Releases: hashgraph/hedera-json-rpc-relay

v0.43.0-rc1

19 Mar 17:59
v0.43.0-rc1
dc6ab10
Compare
Choose a tag to compare
v0.43.0-rc1 Pre-release
Pre-release
v0.43.0-rc1

v0.42.0

26 Feb 17:17
v0.42.0
ba61ab1
Compare
Choose a tag to compare

This version of Hedera JSON RPC Relay includes support for eth_call historical blocks, enabling archive feature, as well as support for EIP-1898 on eth_call requests, where you can use a blockHash instead of a blockNumber when executing an historical block eth_call. This will enable specific use cases and workflows like support for TheGraph and other tools.

Increases the default amount of pages from 50 to 200, this will allow to return blocks with up to 20,000 transactions, right on the current limit of 10,000 TPS of the network among other minor improvements.

Besides that it also includes dependency updates and updated documentation of the JSON API specification to include the WS Servers as well as supported methods that were missing, related to debug API and eth_subscribe.

Enhancements

  • chore: cherry-pick #2141: adding logs for eth_call size and gas (#2141) #2143
  • adding logs for eth_call size and gas #2141

Bug Fixes

  • fix: reverting node:18.18.2-bullseye-slim to unblock release process #2140
  • fix: add support for eth_call Historical Blocks #2125
  • Support Historical Blocks eth_call request on the Relay #2119
  • fix: Productization of MIRROR_NODE_CONTRACT_RESULTS_LOGS_PG_MAX=200 #2113
  • Support for getBlock with very large txn count #2112
  • fix: Issue 2086, turning back on tests. #2102
  • fix: Productize increase of Gas Limit to 50M and internally keep it capped to the 15M limit #2095

Documentation

  • docs: Update Spec API Docs #2109

Dependency Upgrades

  • build(deps): bump ip from 2.0.0 to 2.0.1 #2124
  • [Snyk] Upgrade pnpm from 8.14.3 to 8.15.1 #2122
  • [Snyk] Security upgrade node from 18.18.2-bullseye-slim to 18.19.1-bullseye-slim #2120
  • [Snyk] Security upgrade node from 18.18.2-bullseye-slim to 18.19.0-bullseye-slim #2118
  • build(deps-dev): bump undici from 5.26.3 to 5.28.3 in /tools/solidity-coverage-example #2114
  • [Snyk] Upgrade pnpm from 8.14.2 to 8.14.3 #2110
  • [Snyk] Upgrade dotenv from 16.3.2 to 16.4.1 #2104
  • [Snyk] Upgrade dotenv from 16.3.2 to 16.4.1 #2103
  • [Snyk] Upgrade @graphprotocol/graph-cli from 0.67.1 to 0.67.2 #2101
  • [Snyk] Upgrade dotenv from 16.3.1 to 16.3.2 #2100
  • [Snyk] Upgrade pnpm from 8.14.1 to 8.14.2 #2099
  • [Snyk] Upgrade @mui/material from 5.15.5 to 5.15.6 #2098
  • [Snyk] Upgrade @mui/material from 5.15.4 to 5.15.5 #2094

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @dependabot[bot], @ebadiere, @georgi-l95, and @swirlds-automation

Full Changelog: v0.41.1...v0.42.0

v0.42.0-rc2

26 Feb 16:34
v0.42.0-rc2
1c601d0
Compare
Choose a tag to compare
v0.42.0-rc2 Pre-release
Pre-release
v0.42.0-rc2

v0.42.0-rc1

26 Feb 16:34
v0.42.0-rc1
bb9225c
Compare
Choose a tag to compare
v0.42.0-rc1 Pre-release
Pre-release
v0.42.0-rc1

v0.41.1

12 Feb 16:33
v0.41.1
beed3b6
Compare
Choose a tag to compare

Release 0.41.1 includes instructions for verifying deployed smart contracts in a custom Sourcify instance, which can be found in the tools/hardhat-example directory. Bug fixes, dependency updates, and updated documentation describing the stateRoot value returned by the JSON RPC eth_getBlocksBy* methods are also part of the release.

Enhancements

  • docs: add verification instructions in Hardhat example #2056

Bug Fixes

  • fix: Status Code on Relay Response Logs (#2085) #2090
  • fix: nonce out of sync, temporary workaround while network node 0.47.0 is released #2088
  • Logs of Relay Status response are coming as undefined #2084
  • The release test captures transfer events is unstable. #2006
  • Returning the default gas value on a transaction that will fail when calling eth_estimateGas should not happen. #1965

Documentation

  • docs: Add note about stateRoot in getBlockBy\* RPCs #2061

Dependency Upgrades

  • chore: Bump versions for v0.42.0-SNAPSHOT #2079
  • [Snyk] Upgrade @hashgraph/sdk from 2.39.0 to 2.40.0 #2077
  • [Snyk] Upgrade @mui/material from 5.15.3 to 5.15.4 #2069
  • build: Upgraded koa-router dependency to 12.0.1 to improve performance #2067
  • proj: upgrade koa (major version) #2064
  • [Snyk] Upgrade pnpm from 8.13.1 to 8.14.0 #2060
  • [Snyk] Upgrade @mui/material from 5.15.2 to 5.15.3 #2059

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @acuarica, @bguiz, @ebadiere, and @swirlds-automation

v0.40.0

30 Jan 19:14
v0.40.0
7f70734
Compare
Choose a tag to compare

The latest update of the Hedera JSON-RPC Relay brings a suite of enhancements, bug fixes, documentation updates, and dependency upgrades. Enhancements include the extraction of eth_call to a helper function to facilitate polling, updating supported tools to include Foundry, the addition of SimpleVault for demonstrating system contract mocks, and new end-to-end tests for HBAR/Token allowances. These improvements aim to increase the relay's efficiency and expand its capabilities.

Bug fixes in this release address several issues, including the removal of unnecessary gas application, the addition of a deploy retry, a 20% deviation in gas pricing, and the introduction of polling to stabilize the relay tests. An intermittent response issue and a rate-limiting bug in a specific test have also been resolved. The documentation has been updated to reflect these changes, particularly regarding the inclusion of Foundry in supported tools.

Significant dependency upgrades have been implemented, with updates to key components like pnpm, @mui/material, @emotion/react, @graphprotocol/graph-cli, and @hashgraph/sdk. These upgrades ensure the relay's continued performance and security.

Enhancements

  • Extracted eth_call to helper to support polling. #2028
  • Update the supported-tools to include foundry and verify the documented foundry example. #2019
  • test: ++ SimpleVault to demo system contract mocks #1884
  • Add additional E2E tests for HBAR/Token allowances. #1681

Bug Fixes

  • fix: remove unneeded applying of gas on #2051
  • test: Added the deploy retry. #2034
  • fix: Added 20% deviation in gasPricing. #2033
  • test: 2013 add polling to the relay stabilize #2031
  • Intermittent 400 responses from the mirror node when running tests locally and in CI. #2015
  • The test 'should be able to transfer both fungible and non-fungible tokens in single cryptoTransfer' triggers the relay budget based rate limiting #1239

Documentation

  • 2019 update included tools to include foundry #2020

Dependency Upgrades

  • [Snyk] Upgrade pnpm from 8.13.0 to 8.13.1 #2041
  • [Snyk] Upgrade @mui/material from 5.15.1 to 5.15.2 #2038
  • [Snyk] Upgrade @emotion/react from 11.11.1 to 11.11.3 #2036
  • [Snyk] Upgrade @graphprotocol/graph-cli from 0.64.0 to 0.64.1 #2035
  • [Snyk] Upgrade @mui/material from 5.15.0 to 5.15.1 #2030
  • [Snyk] Upgrade @hashgraph/hedera-local from 2.16.0 to 2.17.2 #2027
  • build(deps): bump follow-redirects from 1.15.2 to 1.15.4 #2025
  • build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.4 in /tools/subgraph-example #2024
  • build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /tools/hardhat-example #2023
  • build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /tools/truffle-example #2022
  • build(deps): bump follow-redirects from 1.15.3 to 1.15.4 in /tools/solidity-coverage-example #2021
  • [Snyk] Upgrade @hashgraph/hedera-local from 2.16.0 to 2.17.2 #2018
  • [Snyk] Upgrade @graphprotocol/graph-ts from 0.31.0 to 0.32.0 #2017
  • [Snyk] Upgrade pnpm from 8.12.1 to 8.13.0 #2014
  • [Snyk] Upgrade @hashgraph/sdk from 2.38.0 to 2.39.0 #2009
  • [Snyk] Upgrade @mui/material from 5.14.19 to 5.15.0 #2008
  • [Snyk] Upgrade pnpm from 8.12.0 to 8.12.1 #2007
  • chore: [Snyk] Upgrade web3 from 4.2.2 to 4.3.0 #2001
  • chore: [Snyk] Upgrade pnpm from 8.11.0 to 8.12.0 #2000

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @dependabot[bot], @ebadiere, @georgi-l95, @mshakeg, and @swirlds-automation

Full Changelog: v0.39.1...v0.40.0

v0.40.0-rc1

30 Jan 19:13
v0.40.0-rc1
155667d
Compare
Choose a tag to compare

v0.39.1

19 Jan 15:20
v0.39.1
7e8bbc6
Compare
Choose a tag to compare

Release 0.39.1 includes fixes to enable EOA workarounds for out of sync nonces with the mirror node, and the removal of accounts existence prechecks to increase EVM equivalence.

Bug Fixes

  • fix: Removed prechecks for existing accounts. (#2046) #2048
  • fix: Cherry pick 2042 into 0.39 #2044
  • When Mirror-node out of sync with account nonce, unable to set it below the expected by the mirror node #2043
  • fix: nonce too low precheck relaxed to allow a buffer #2042

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87 and @ebadiere

v0.39.0

05 Jan 16:29
v0.39.0
7c35290
Compare
Choose a tag to compare

Release 0.39.0 contains a series of dependency upgrades.

Dependency Upgrades

  • Bump versions for v0.40.0-SNAPSHOT #2004
  • chore: [Snyk] Upgrade ts-node from 10.9.1 to 10.9.2 #1999
  • chore: [Snyk] Upgrade @hashgraph/sdk from 2.38.0 to 2.39.0 #1998
  • chore: [Snyk] Upgrade keyv-file from 0.2.0 to 0.3.0 #1997
  • [Snyk] Upgrade keyv-file from 0.2.0 to 0.3.0 #1995
  • [Snyk] Upgrade @mui/material from 5.14.18 to 5.14.19 #1994
  • chore: Reapplying snyk upgrade, pnpm from 8.10.5 to 8.11.0 #1993

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @ebadiere and @swirlds-automation

v0.38.0

27 Dec 16:54
v0.38.0
2424cc2
Compare
Choose a tag to compare

The recent software update features a series of enhancements, bug fixes, and dependency upgrades aimed at improving performance and functionality. Key enhancements include the upgrade of the Continuous Integration (CI) runner, which is crucial for streamlining the development process, and significant improvements in performance testing, particularly for the eth_estimateGas function. Additionally, the update introduces more flexibility in file handling with new options to configure file chunk sizes, enhancing the efficiency of FileAppendTransaction operations.

In terms of bug fixes, this update addresses several critical issues. Notably, it improves the handling of INVALID_TRANSACTION scenarios and enhances acceptance testing procedures following an upgrade to the hedera-local-node. The update also removes certain contract revert reasons from eth_getTransactionByHash to refine the functionality.

The update also includes important dependency upgrades, ensuring the software stays secure and efficient. Upgrades include newer versions of @graphprotocol/graph-cli, @hashgraph/sdk, and several other key dependencies. These upgrades are vital for maintaining the security and performance of the software, aligning it with the latest technological standards. Overall, this update represents a significant step forward in the software's development, focusing on enhancing performance, user flexibility, and system reliability.

Enhancements

  • feat: Upgraded CI runner. #1982
  • K6 Perf Test - Fix eth_estimateGas #1980
  • feat: Add option to configure file chunk size. #1978
  • Add an option to configure the file append chunk size for the HAPI FileAppendTransaction. #1977
  • Improving Caching for eth_getGasPrice #1976
  • Fixes unit tests failing when ran locally #1973
  • Improve Caching of eth_gasPrice endpoint #1969
  • fix: deprecated DEV_MODE #1968
  • Remove DEV_MODE #1967
  • Deprecate DEV_MODE #1964
  • Created a separate new metric for tracking the method results, simila… #1887
  • Add Rate Limits to batch request itself #1882
  • Batch Request - Metrics Enhancement #1881
  • Add blockParam to eth_getCode #1857
  • Add blockParam to eth_getTransactionCount #1856

Bug Fixes

  • fix: Handle INVALID_TRANSACTION together with FAIL_INVALID when Contract does not exists #1990
  • fix: Acceptance tests fix after hedera-local-node upgrade to use 0.94.1 version of mirror-node #1988
  • fix: Removed the contract revert reason from the eth_getTransactionByHash. #1979
  • Acceptance Tests Improvement #1971
  • Unit tests failing when ran locally on main #1963
  • Fix gitmodules on 0.37 #1960
  • Removed the DEV_MODE check in the contract revert check to allow the … #1921
  • getTransactionReceipt should return a revert reason on contract revert errors. #1916

Dependency Upgrades

  • [Snyk] Upgrade @graphprotocol/graph-cli from 0.61.0 to 0.62.0 #1984
  • [Snyk] Security upgrade lerna from 7.4.2 to 8.0.1 #1983
  • [Snyk] Upgrade @hashgraph/sdk from 2.34.1 to 2.38.0 #1975
  • [Snyk] Upgrade redis from 4.6.10 to 4.6.11 #1974
  • build(deps-dev): bump @koa/cors from 3.4.3 to 5.0.0 #1970
  • [Snyk] Upgrade pnpm from 8.10.4 to 8.10.5 #1958
  • [Snyk] Upgrade @mui/material from 5.14.17 to 5.14.18 #1957

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @dependabot[bot], @ebadiere, @georgi-l95, @konstantinabl, and @swirlds-automation

Full Changelog: v0.37.0...v0.38.0