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

Dev network show mistake sync status #359

Open
yanguoyu opened this issue Feb 28, 2024 · 3 comments
Open

Dev network show mistake sync status #359

yanguoyu opened this issue Feb 28, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@yanguoyu
Copy link

When starting a dev blockchain with Neuron, the sync status always shows not start sync yet. This reason is caused by https://github.com/nervosnetwork/ckb/tree/develop/rpc#net-sync_state always returns

{
  "jsonrpc":"2.0",
  "result":{"best_known_block_number":"0x0","best_known_block_timestamp":"0x0","fast_time":"0x3e8","ibd":false,"inflight_blocks_count":"0x0","low_time":"0x5dc","normal_time":"0x4e2","orphan_blocks_count":"0x0"},
  "id":42
}

Because the calculated sync status needs best_known_block_number which always keeps 0x0, the sync status always shows not start yet

@Danie0918
Copy link
Contributor

@devchenyan Any update?

@devchenyan
Copy link

ckb issue: nervosnetwork/ckb#4472

@devchenyan
Copy link

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: 🚩Pre Release
Development

No branches or pull requests

4 participants