hedera-json-rpc-relay
hedera-json-rpc-relay copied to clipboard
feat: added support for batch request feature to WS server (#2461)
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:
-
postman
Notes for reviewer:
Checklist
- [x] Documented (Code comments, README, etc.)
- [x] Tested (unit, integration, etc.)
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.
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.
Quality Gate passed
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code