Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WS Regression] eth_newFilter is failing #3114

Closed
quiet-node opened this issue Oct 16, 2024 · 0 comments · Fixed by #3117
Closed

[WS Regression] eth_newFilter is failing #3114

quiet-node opened this issue Oct 16, 2024 · 0 comments · Fixed by #3117
Assignees
Labels
bug Something isn't working
Milestone

Comments

@quiet-node
Copy link
Member

Description

The test cases below are failing.

RPC Server Acceptance Tests
       Acceptance tests
         @web-socket-batch-2 eth_newFilter
           Standard Web Socket
             @release Should execute eth_newFilter on Standard Web Socket and handle valid requests correctly:
     AssertionError: expected undefined to exist
      at Suite.<anonymous> (packages/ws-server/tests/acceptance/newFilter.spec.ts:90:26)
      at Generator.next (<anonymous>)
      at fulfilled (packages/ws-server/tests/acceptance/newFilter.spec.ts:24:58)
RPC Server Acceptance Tests
       Acceptance tests
         @web-socket-batch-2 eth_newFilter
           Ethers Web Socket Provider
             @release Should execute eth_newFilter on Ethers Web Socket Provider and handle valid requests correctly:
     Error: could not coalesce error (error={ "code": -32000, "message": "Exceeded maximum block range: 1000" }, payload={ "id": 1, "jsonrpc": "2.0", "method": "eth_newFilter", "params": [ { "address": [ "0xadF86D6D774AA2507380E0264e5f8052035B5BE8" ], "fromBlock": "0x0", "toBlock": "latest" } ] }, code=UNKNOWN_ERROR, version=6.13.2)
      at makeError (packages/ws-server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
      at WebSocketProvider.getRpcError (packages/ws-server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1059:25)
      at /Users/user/development/hashgraph/hedera-json-rpc-relay/packages/ws-server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
      at processTicksAndRejections (node:internal/process/task_queues:95:5)

Steps to reproduce

  1. Run npm run release_ws
  2. Observe the failing test

Additional context

No response

Hedera network

testnet, previewnet

Version

0.58.0-rc1

Operating system

None

@quiet-node quiet-node added the bug Something isn't working label Oct 16, 2024
@quiet-node quiet-node added this to the 0.59.0 milestone Oct 16, 2024
@quiet-node quiet-node self-assigned this Oct 16, 2024
@quiet-node quiet-node linked a pull request Oct 17, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant