Skip to content

Releases: hiero-ledger/hiero-json-rpc-relay

v0.43.1

14 Mar 23:59
v0.43.1
508585b

Choose a tag to compare

What's Changed

Full Changelog: hashgraph/hedera-json-rpc-relay@v0.43.0...v0.43.1

v0.43.0

08 Mar 20:13
v0.43.0
6acced8

Choose a tag to compare

Release 0.43.0 includes a bug fix that adds the aliases finalized and safe to the blocks. These are ethereum post merge aliases that essentially mean latest. A more detailed description of these new aliases in the ethereum context can be found here.

Tests were added to increase eth_estimateGas coverage, and dependencies were updated.

Release 0.43.0 also begins the support for new blocks, (newHeads) in eth_subscribe. This feature will allow websocket providers to poll for the latest blocks. The eth-subscribe design document has been updated to describe this in detail.

The newHeads feature is disabled on testnet and mainnet, and will be enabled at some point in the future.

Enhancements

  • feat: adding polling for new heads. #2160
  • Port the smart contracts github actions workflow manual-test to the relay repository. #2092
  • test: 1600 estimate gas with precompiles more tests added #2026
  • Add tests in the relay for eth_estimateGas with precompiles #1600

Bug Fixes

  • feat: Adds missing block aliases #2135

Dependency Upgrades

  • [Snyk] Upgrade @graphprotocol/graph-cli from 0.67.4 to 0.68.0 #2170
  • [Snyk] Upgrade dotenv from 16.4.1 to 16.4.2 #2166
  • [Snyk] Upgrade @mui/material from 5.15.7 to 5.15.9 #2165
  • build(deps): bump @openzeppelin/contracts from 4.9.5 to 4.9.6 in /tools/hardhat-example #2164
  • build(deps-dev): bump @openzeppelin/contracts from 4.9.3 to 4.9.6 in /tools/subgraph-example #2163
  • [Snyk] Upgrade redis from 4.6.12 to 4.6.13 #2158
  • [Snyk] Upgrade @hashgraph/sdk from 2.40.0 to 2.41.0 #2156
  • [Snyk] Upgrade @graphprotocol/graph-cli from 0.67.3 to 0.67.4 #2155
  • [Snyk] Upgrade lerna from 8.0.2 to 8.1.1 #2154
  • build(deps): bump es5-ext from 0.10.62 to 0.10.63 in /tools/truffle-example #2152
  • [Snyk] Upgrade @graphprotocol/graph-cli from 0.67.2 to 0.67.3 #2146
  • build(deps-dev): bump undici from 5.28.2 to 5.28.3 in /tools/hardhat-example #2116
  • build(deps-dev): bump undici from 5.26.3 to 5.28.3 in /tools/subgraph-example #2115

Contributors

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

@dependabot[bot], @ebadiere, @konstantinabl, @nickeynikolovv, and @swirlds-automation

v0.43.0-rc1

19 Mar 17:59
v0.43.0-rc1
dc6ab10

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

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: hashgraph/hedera-json-rpc-relay@v0.41.1...v0.42.0

v0.42.0-rc2

26 Feb 16:34
v0.42.0-rc2
1c601d0

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

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

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

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: hashgraph/hedera-json-rpc-relay@v0.39.1...v0.40.0

v0.40.0-rc1

30 Jan 19:13
v0.40.0-rc1
155667d

Choose a tag to compare

v0.39.1

19 Jan 15:20
v0.39.1
7e8bbc6

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