github hashgraph/hedera-json-rpc-relay v0.48.0

latest releases: v0.66.0, v0.66.0-rc1, v0.65.1...
16 months ago

Overview

Release v0.48.0 introduces several improvements and fixes tailored to elevate the functionality and reliability of the Hedera JSON-RPC relay. Enhancements include updated error codes and the addition of constructValidLogSubscriptionFilter() for improved log subscription handling. WebSocket request support has been strengthened with refined validation logic, batch request capabilities, and the inclusion of web3_clientVersion. Metrics and rate-limiting mechanisms for batch requests have also been improved.

The release addresses various bug fixes, resolving issues related to inconsistent responses, malformed data, and compatibility problems with specific network configurations. Additionally, several dependencies have been upgraded to maintain compatibility and security.

Enhancements

  • fix: updated CONTRACT_REVERT error code to the value 3 #2523
  • feat: added constructValidLogSubscriptionFilter() to discard any unexpected parameters for logs subcription filter object #2521
  • Ignore invalid params for eth_subscribe:logs #2520
  • fix: added support for undefined params requests in WS server (#2463) #2494
  • fix: removed RESOURCE\_NOT\_FOUND error in eth_getStorageAt when response is null #2492
  • fix: removed chainId field for legacy EIP155 transactions (#2468) #2489
  • feat: improved metrics and added rate limit for the batch request feature in ws server (#2474) #2487
  • fix: Added the web3_clientVersion to the websocket server. #2486
  • chore: relocated WS_BATCH_REQUESTS_ENABLED & WS_BATCH_REQUESTS_MAX_SIZE in configuration.md #2482
  • feat: added support for batch request feature to WS server (#2461) #2475
  • feat: enhanced ws server validating logic on json rpc message object and supported methods (#2470) #2471
  • refactor: removed specific handlers for jsonrpc methods but added a shared method #2469
  • Change JSON-RPC error code response for onchain revert #2457
  • feat: added CI build test #2456
  • fix: removed method attribute in WS response object #2444
  • chore: added a debug level log to expose contract call response for eth_call requests (#2441) #2442
  • ci: removed networkTag for API Batch 1 and Websocket Batch 2 CI tasks (#2402) #2427
  • CI Automated Test for Docker image Build #1871
  • refactor: Updating the configmap setup to take any ENV that is in the .Values.c… #1732

Bug Fixes

  • fix: Applied fix using trimPrecedingZeros. #2499
  • fix: fixing Field HEDERA_NETWORK on configMap helm chart template, when is not a string but a json. #2498
  • Chart deploy, when providing HEDERA_NETWORK value as json, result is malformed #2497
  • fix: Populate null values #2495
  • Inconsistent response between ethereum rpc and hedera #2491
  • fix: Added web3_clientVersion to the websocker server and fixed typos. #2485
  • fix: Added web3_clientVersion to the websocker server and fixed typos. #2484
  • fix: Populate null values in transactions. #2467
  • Leading zeros in Hex values causing incompatibilities with Hex Parsing #2465
  • Some Methods fail to send a response when called with WS endpoint #2463
  • web3_clientVersion returns null with websocket endpoint #2462
  • Cannot send batch requests via WS endpoints #2461
  • fix: Test fix for nonce values on networks other thant local node. #2460
  • 2458 should deploy contract #2459
  • The test @release should deploy a contract fails on testnet. #2458
  • Error from GoEthClient when calling getBlockByNumber on certain specific blocks #2451
  • fix: fixed setting WS_NEW_HEADS_ENABLED true as default logic at Relay level #2449

Dependency Upgrades

  • chore: [Snyk] Upgrade web3 from 4.7.0 to 4.8.0 #2488
  • [Snyk] Upgrade @hashgraph/sdk from 2.43.0 to 2.44.0 #2479
  • [Snyk] Upgrade pnpm from 8.15.5 to 8.15.7 #2478
  • build(deps): bump ejs from 3.1.9 to 3.1.10 #2448
  • build(deps): bump ejs from 3.1.8 to 3.1.10 in /dapp-example #2447
  • build(deps): bump ejs and @graphprotocol/graph-cli in /tools/subgraph-example #2446
  • chore: [Snyk] Upgrade @emotion/styled from 11.11.0 to 11.11.5 #2425
  • chore: [Snyk] Upgrade @mui/material from 5.15.14 to 5.15.15 #2424

Contributors

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

@AlfredoG87, @dependabot[bot], @ebadiere, @quiet-node, @rustyShacklefurd, @simsonraj, and @swirlds-automation

Full Changelog: v0.47.0...v0.48.0

Don't miss a new hedera-json-rpc-relay release

NewReleases is sending notifications on new releases.