hedera-json-rpc-relay icon indicating copy to clipboard operation
hedera-json-rpc-relay copied to clipboard

feat: added support for batch request feature to WS server (#2461)

Open quiet-node opened this issue 1 year ago • 3 comments

Description:

  • adds support for batch request feature to WS server
  • adds WS neccessary config variables to configurations.md
  • added two new predefined errors, WS_BATCH_REQUESTS_DISABLED and WS_BATCH_REQUESTS_AMOUNT_MAX_EXCEEDED, to JsonRpcError object
  • added e2e tests to cover the new feature

Todo: https://github.com/hashgraph/hedera-json-rpc-relay/issues/2474

Fixes #2461

Result

  • wscat: image

  • postman image

image

Notes for reviewer:

Checklist

  • [x] Documented (Code comments, README, etc.)
  • [x] Tested (unit, integration, etc.)

quiet-node avatar May 10 '24 21:05 quiet-node

Tests

    2 files  147 suites   13s :stopwatch: 819 tests 818 :heavy_check_mark: 1 :zzz: 0 :x: 831 runs  830 :heavy_check_mark: 1 :zzz: 0 :x:

Results for commit 6d5da4e3.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar May 10 '24 21:05 github-actions[bot]

Acceptance Tests

  18 files  271 suites   23m 53s :stopwatch: 583 tests 577 :heavy_check_mark: 3 :zzz: 3 :x: 967 runs  953 :heavy_check_mark: 9 :zzz: 5 :x:

Results for commit 6d5da4e3.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar May 10 '24 22:05 github-actions[bot]