artela-network / artela

Powerful blockchain node with Aspect programming enabled.
https://www.artela.network/
Apache License 2.0
110 stars 88 forks source link

ws subscription block height is not returned #173

Open rayn316 opened 1 month ago

rayn316 commented 1 month ago

System information

Artelad version: v0.4.9-rc9 Aspect-libs version: e.g. @artela/aspect-libs@0.0.36 Web3 version: e.g. @artela/web3@1.9.24 OS & Version: Linux Commit hash : (if develop)

Expected behaviour

Actual behaviour

json-rpc(ws) After subscribing to the block height, the node is syncing normally, the request json height changes normally, but the ws subscription does not return new block information

{
    "id": 1,
    "method": "eth_subscribe",
    "params": [
        "newHeads"
    ]
}

Steps to reproduce the behaviour

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

image
LukeNinjaX commented 1 month ago

The server wss://test-node.artela.network/ws is responding correctly. Previously, there were some issues with Nginx on the server.

rayn316 commented 1 month ago

After testing, the subscription interface still cannot return the new block content This situation also exists in other cosmos chains.

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_subscribe",
    "params": [
        "newHeads"
    ]
}

eth ws

image image

artela ws

image