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