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

@yanguoyu yanguoyu added the bug Something isn't working label Feb 28, 2024
@Danie0918 Danie0918 added this to Neuron Feb 29, 2024
@Danie0918 Danie0918 moved this to 🆕 New in Neuron Feb 29, 2024
@Danie0918 Danie0918 moved this from 🆕 New to 📌Planning in Neuron Mar 4, 2024
@Danie0918 Danie0918 moved this from 📌Planning to 🎨 Designing in Neuron Mar 11, 2024
@Danie0918 Danie0918 assigned devchenyan and unassigned Danie0918 May 14, 2024
@Danie0918 Danie0918 moved this from 🎨 Designing to 🏗 In Progress in Neuron May 14, 2024
@Danie0918 Danie0918 moved this from 🏗 In Progress to 🔎 Code Review in Neuron May 17, 2024
@Danie0918 Danie0918 moved this from 🔎 Code Review to 🏗 In Progress in Neuron May 20, 2024
@Danie0918
Copy link
Contributor

@devchenyan Any update?

@devchenyan
Copy link

ckb issue: nervosnetwork/ckb#4472

@devchenyan
Copy link

@Danie0918 Danie0918 moved this from 🏗 In Progress to 🔎 Code Review in Neuron Jun 7, 2024
@Danie0918 Danie0918 moved this from 🔎 Code Review to 👀 Testing in Neuron Jun 7, 2024
@Danie0918 Danie0918 assigned silySuper and unassigned devchenyan Jun 7, 2024
@Danie0918 Danie0918 moved this from 👀 Testing to 🚩Pre Release in Neuron Jun 14, 2024
@Danie0918 Danie0918 moved this from 🚩Pre Release to ⭐ Release List in Neuron Aug 1, 2024
@Danie0918 Danie0918 moved this from ⭐ Release List to 🚩Pre Release in Neuron Aug 1, 2024
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