Skip to content

Releases: hashgraph/hedera-json-rpc-relay

v0.52.0-rc2

23 Jul 16:56
v0.52.0-rc2
c4b8a81
Compare
Choose a tag to compare
v0.52.0-rc2 Pre-release
Pre-release
v0.52.0-rc2

v0.51.3

19 Jul 19:48
v0.51.3
2a0f0dd
Compare
Choose a tag to compare

Overview

This new release, v0.51.3, introduces a hotfix to address the HBAR leakage issue by adding steps to capture transactionFee in metrics and the HBAR limiter class for the executeTransaction() and deleteFile() methods.

The fix utilizes the getRecord() method to retrieve the transactionFee in executeTransaction(). This method also exposes and throws errors caused by invalid transactions on the network, which were previously ignored. These errors were typically discovered only after repeated lookups on the mirror node, resulting in a total transaction time of more than 20 seconds in the worst cases. This error exposure helps reduce total transaction time by 98% for worst cases and ensures more accurate and secure handling of transactions.

Bug Fixes

fix: captured transactionFee in metrics and HBAR limiter class in executeTransaction and deleteFile (#2714)

Contributors

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

@quiet-node

Full Changelog: v0.51.2...v0.51.3

v0.51.2

18 Jul 03:45
v0.51.2
6c1418d
Compare
Choose a tag to compare

Overview

This new release, v0.51.2, introduces a hotfix to improve the HBAR leakage issue in FILE_APPEND transactions. The fix replaces the current .execute() method with .executeAll() for fileAppendTransaction, ensuring that all transactions are captured in the result. This update allows for secure and accurate monitoring of the total HBAR spent in FILE_APPEND transactions within the metrics and HBAR rate limiter class. Consequently, it improves the tracking of the HBAR burned rate in metrics, ensuring that the Relay operator account's balance is managed effectively.

Bug Fixes

fix: Hbar usage tracking when transaction is larger than FILE_APPEND_CHUNK_SIZE #2698

Contributors

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

@Ivo-Yankov

Full Changelog: v0.51.1...v0.51.2

v0.52.0-rc1

23 Jul 16:56
v0.52.0-rc1
58923ef
Compare
Choose a tag to compare
v0.52.0-rc1 Pre-release
Pre-release
v0.52.0-rc1

v0.51.1

08 Jul 15:38
v0.51.1
8f380a2
Compare
Choose a tag to compare

Release v0.51.1 includes enhancements to the HBar rate limiting around creating and appending to files, as well as exposing the HBar rate limiting through metrics. The net_version now returns the decimal value instead of the hexadecimal, and the debug endpoint debug_traceTransaction now works with the opcode logger. Bug fixes around the getFilterChanges using the internal cache, and preceding zeros from signature key values are also part of v0.51.1.

Enhancements

  • fix: Added metrics around the HBar rate limiter to better track the (… #2672
  • fix: net_version now reads chainId from config and return decimal value #2633
  • fix: debug_traceTransaction not working when we don't pass tracerConfig #2628
  • fix: reduced the SDK usage in batch 3 to stablize the batch #2625
  • feat: Rework how tooling tests and dapp are starting local-node #2617
  • build(deps): Bump versions for v0.51.0-SNAPSHOT #2608
  • feat: Golang JSON RPC methods usage example. #2586
  • feat: enhance debug_traceTransaction to work with Opcode Logger #2480
  • Enhance debug_traceTransaction to work with opcode Logger #2431

Bug Fixes

  • fix: Adds usage of internal cache for getFilterChanges (#2668) #2670
  • fix: issue when trying to perform transaction (#2663) #2669
  • fix: Adds usage of internal cache for getFilterChanges #2668
  • eth_newFilter / eth_getFilterChanges not working #2646
  • fix: Added HBar rate limiter to createFile #2634
  • Add rateLimiter to the create file in the sdkClient #2631
  • API method net_version returns hexadecimal result instead of decimal #2629
  • debug_traceTransaction not working when we don't pass tracerConfig #2627
  • fix: String preceding zeros from signature key values. #2623
  • fix: fixed unexpected returns for eth_getLog requests with zero address #2616
  • Requesting logs with ZERO address returns anonymous Events #2614
  • fix: reworked gas comparison logic #2611
  • baseFeePerGas is compared to a hard-coded value in batch 1 acceptance test #2610
  • 2500 failed to fetch transaction #2595
  • API Batch 3 is a flaky test. #2568
  • eth_getBlockByNumber failing with Error invoking RPC: Null entity ID #2557

Dependency Upgrades

  • build(deps): [Snyk] Security upgrade ethers from 6.13.0 to 6.13.1 #2624
  • build(deps): [Snyk] Upgrade ethers from 6.0.0 to 6.13.0 #2622
  • fix: Upgrade to node 20. #2621
  • build(deps): bump ws from 8.5.0 to 8.17.1 in /k6 #2620
  • build(deps): [Snyk] Security upgrade ethers from 6.0.0 to 6.13.1 #2612
  • build(deps): [Snyk] Security upgrade ethers from 5.7.2 to 6.0.0 #2609
  • build(deps): [Snyk] Upgrade @hashgraph/hedera-local from 2.23.0 to 2.26.2 #2558

Contributors

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

@arianejasuwienas, @dependabot[bot], @ebadiere, @georgi-l95, @konstantinabl, @natanasow, @quiet-node, @swirlds-automation, and @victor-yanev

v0.50.2

29 Jun 04:25
v0.50.2
56f4a61
Compare
Choose a tag to compare

Overview

Hedera JSON RPC Relay release v0.50.2 includes a significant enhancement and crucial bug fixes. The integration of the Opcode Logger provides detailed logging of opcode execution, enhancing the debugging process for developers by offering more granular insights into transaction traces.

Additionally, a crucial bug fix implements an HBar rate limiter for the createFile function for transactions with large calldata. This addition is essential for preventing excessive usage and potential abuse of the file creation process, including the fileAppend process, thereby enhancing the overall stability and performance of the system.

Enhancements

  • feat: enhance debug_traceTransaction to work with Opcode Logger #2480
  • fix: debug_traceTransaction not working when we don't pass tracerConfig #2628
  • fix: Added HBar rate limiter to createFile #2634

Contributors

Thank you to all the contributors who worked on this release:
@ebadiere @victor-yanev

Full Changelog: v0.50.1...v0.50.2

v0.50.1

25 Jun 13:41
v0.50.1
072d2b6
Compare
Choose a tag to compare

Overview

Patch release v0.50.1 addresses the issue of unexpected records being returned from eth_getLog requests with zero addresses. The update ensures that if the address parameter equals ZeroAddress, the call to the mirror node is skipped, and an empty array is returned immediately.

Enhancements

  • fix: fixed unexpected returns for eth_getLog requests with zero address #2616

Contributors

Thank you to all the contributors who worked on this release:
@quiet-node

Full Changelog: v0.50.0...v0.50.1

v0.50.0

20 Jun 15:47
v0.50.0
22b70fa
Compare
Choose a tag to compare

Overview

Release v0.50.0 brings a host of enhancements, bug fixes, and dependency upgrades to improve functionality and performance.

One key enhancement includes the addition of support for the OPERATOR_KEY_FORMAT configuration, allowing for a broader range of private key types: DER, HEX_ECDSA, and HEX_ED25519. With this new support, the Relay can now be operated by an account using any of these private key formats.

The release also introduces new examples for Hardhat Viem and Golang Ethereum Client usage, highlighting Hedera's commitment to supporting a wide range of development tools and environments. These additions enrich the existing coverage in the Hedera JSON-RPC Relay repository for many other tools including examples for Foundry, Hardhat, Truffle, Subgraph, etc.. By providing these comprehensive examples, Hedera ensures that developers have the resources they need to efficiently integrate and leverage these tools, enhancing the versatility and applicability of the Hedera JSON-RPC Relay in diverse development scenarios.

Significant bug fixes address issues such as npm binary not being found, unit tests failing in CI, and correcting the transaction 'v' value.

Furthermore, this release updates various dependencies, ensuring better compatibility and security. These updates collectively enhance the reliability and usability of the Hedera JSON-RPC Relay.

What's Changed

Enhancements

Bug Fixes

  • fix: Adding the node install as now the npm binary is not found. by @ebadiere in #2562
  • fix: 2561 release automation cannot find npm by @ebadiere in #2564
  • fix: Updated release flows to setup-node and setup make before calling npm ci by @rbarkerSL in #2565
  • fix: fixed condition to employ HFS in submitEthereumTransaction() by @quiet-node in #2566
  • test: re-included eth_getCode and eth_sendRawTransaction in the release testing flow by @quiet-node in #2582
  • fix: unit tests failing in CI by @konstantinabl in #2258
  • fix: Set the correct txn v value. by @ebadiere in #2592
  • fix: removed name field in JsonRpcError class by @quiet-node in #2590

Dependency Upgrades

New Contributors

Full Changelog: v0.49.0...v0.50.0

v0.50.0-rc1

20 Jun 16:12
v0.50.0-rc1
d3b5125
Compare
Choose a tag to compare
v0.50.0-rc1 Pre-release
Pre-release

Full changelog: v0.49.0...v0.50.0-rc1

v0.49.0

10 Jun 22:20
v0.49.0
e72c1f5
Compare
Choose a tag to compare

We are pleased to announce the release of version 0.49.0, which introduces significant enhancements and updates, including:

  • Enabled over WebSockets eth_newFilter: This version adds support for the eth_newFilter method using WebSockets, enabling more robust filtering capabilities within your applications.

  • WebSocket Release Tests: A comprehensive suite of release tests for WebSockets has been integrated, ensuring improved reliability and performance.

  • Enhanced Release Automation Workflow: The release automation process has been upgraded to utilize secure actions, enhancing the security and efficiency of deployment workflows.

  • Improved Request Handling: Requests containing both data and input fields are now handled more gracefully. Any additional parameters will be ignored rather than causing an error.

  • Standardized Error Codes: Error codes have been aligned with standard values where applicable, providing more consistent and predictable error handling.

  • Acceptance Batch 1 Test Fix: A fix has been applied to the tests in Acceptance Batch 1, ensuring more accurate and reliable test results.

These updates are designed to enhance the functionality, security, and stability of our platform. We encourage all users to upgrade to version 0.49.0 to take advantage of these improvements.

Enhancements

  • feat: implemented eth_newFilter to WS server #2553
  • Implement eth_newFilter method into WS server #2552
  • Accept the requests with both "data" & "input" fields, ignore the extra parameter instead of throwing error #2547
  • docs: added WS release test to acceptancetest:release command #2536
  • PR Check for labels and tickets #2534
  • ci: Pr label milestone check #2533
  • acceptancetest:release does not contain WS release test #2528
  • Align error codes with standard values where neccessary #2522
  • fix: ws errors should conform to jsonrpc spec #2505
  • build(deps): [Snyk] Upgrade lerna from 8.1.1 to 8.1.2 #2493

Bug Fixes

  • fix: 2560 include workflow updates in release branch #2569
  • fix: fixed condition to employ HFS in submitEthereumTransaction() #2566
  • fix: Updated release flows to setup-node and setup make before calling npm ci #2565
  • fix: 2561 release automation cannot find npm #2564
  • eth_sendRawRequest fails when calldata size is in the range of [2568 bytes, 5217 bytes] #2563
  • fix: Adding the node install as now the npm binary is not found. #2562
  • The release automation cannot find the npm binary #2561
  • fix: fixed requests throw error when both data and input fields are present in transaction object #2551
  • eth_call mistakenly accepts tx.value as calldata when tx.data is undefined #2550
  • eth_newFilter errors out when passing more than 1 address in the parameter #2548
  • fix: Resolve issue with failing acceptance batch 1 test #2546
  • Fix failing test in Acceptance Batch 1 #2545
  • fix: Fix PR Label Check for False Positive Issues #2537

Dependency Upgrades

  • build(deps): [Snyk] Upgrade: react, react-dom #2542
  • doc: upgraded lerna from 8.1.1 to 8.1.2 #2539
  • build(deps): [Snyk] Upgrade pnpm from 8.15.7 to 8.15.8 #2538
  • ci: updated ci pipelines for security and best practices #2535
  • Update CI pipelines for security and best practices #2531
  • build(deps): [Snyk] Upgrade @mui/material from 5.15.15 to 5.15.16 #2526
  • [Snyk] Upgrade: react, react-dom #2502

Contributors

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

@AlfredoG87, @Ivo-Yankov, @ebadiere, @quiet-node, @rbarkerSL, @swirlds-automation, and @ted-yeh-vc