helium / rosetta-helium

Rosetta implementation for helium
18 stars 4 forks source link

Node is always catching up to snapshot height on testnet #39

Closed GeekArthur closed 2 years ago

GeekArthur commented 2 years ago

I tried the latest version of testnet (blockchain-node-testnet-ubuntu18-1.1.53), but I always hit the following error when I call endpoint /network/status

{
    "code": 12,
    "message": "Node is not ready",
    "retriable": false,
    "details": {
        "context": "node is catching up to snapshot height"
    }
}

I think it hits the error from source code here: https://github.com/helium/rosetta-helium/blob/bump_snap/services/network_service.go#L70 which means the current block height of the node is less than the LBS (I shell into the node container and find that is 1108081, I think it’s the height of the snapshot), I keeping hit this error for about ~3 hours.

@syuan100 thinks the Dockerfile is misconfigured and there shouldn't be a LBS file.