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

"CKB v0.105.* have bugs. Please upgrade to the latest version." #166

Closed
Keith-CY opened this issue Jan 17, 2023 · 8 comments
Closed

"CKB v0.105.* have bugs. Please upgrade to the latest version." #166

Keith-CY opened this issue Jan 17, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Keith-CY
Copy link
Member

Weird alert appears on testnet
image
Link: https://pudge.explorer.nervos.org/

Trying to find out which API throws it

@Keith-CY
Copy link
Member Author

@iamyates
Copy link

iamyates commented Jan 17, 2023

this message comes from CKB node's RPC method: get_blockchain_info: ( then stored in backend's cache, then served in response , then shown at frontend )

# echo '{
    "id": 3,
    "jsonrpc": "2.0",
    "method": "get_blockchain_info",
    "params": []
}' \
| tr -d '\n' \
| curl -H 'content-type: application/json' -d @- \
http://localhost:8114

response:

{
    "jsonrpc":"2.0",
    "result":{
        "alerts":[
            {
                "id":"0x134af71",
                "message":"CKB v0.105.* have bugs. Please upgrade to the latest version.",
                "notice_until":"0x18785a51000",
                "priority":"0x14"
            }
        ],
        "chain":"ckb",
        "difficulty":"0x95fff367010ed96",
        "epoch":"0x59c0532001b0b",
        "is_initial_block_download":false,
        "median_time":"0x185bebd5475"
    },
    "id":3
}

And it seems both ckb node 0.105 and 0.106 receive this alert message ( not test on 0.104 or ther versions )

@Keith-CY Keith-CY moved this from Todo to In Progress in Nervos Wallet/Explorer Jan 17, 2023
@Keith-CY
Copy link
Member Author

This message will be filtered out by the backend

@iamyates
Copy link

related PR: nervosnetwork/ckb-explorer#1135

@iamyates iamyates moved this from In Progress to QA in Nervos Wallet/Explorer Jan 17, 2023
@Keith-CY
Copy link
Member Author

related PR: nervosnetwork/ckb-explorer#1135

The alert message is still returned in the API, it was fixed in the front-end temporarily

@iamyates
Copy link

the backend caches this alert message for 6 hours. so when deploy, we should clear the redis. sorry I forgot to figure this out.

@Keith-CY
Copy link
Member Author

Confirmed that the alerts is empty
image

@github-project-automation github-project-automation bot moved this from QA to Production in Nervos Wallet/Explorer Jan 18, 2023
@doitian
Copy link

doitian commented Jan 31, 2023

Fixed in https://github.com/nervosnetwork/ckb/releases/tag/v0.107.0

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
No open projects
Archived in project
Development

No branches or pull requests

3 participants