Skip to content

fix: wrong sync status when using devnet - #3183

Merged
Keith-CY merged 4 commits into
developfrom
feat-359
Jun 12, 2024
Merged

fix: wrong sync status when using devnet#3183
Keith-CY merged 4 commits into
developfrom
feat-359

Conversation

@devchenyan

Copy link
Copy Markdown
Contributor

issue: Magickbase/neuron-public-issues#359

nervosnetwork/ckb#4472

sync state only init with local on start, and will update on sync with other node, never with self mined. dev node never has network communicate.

If it is a devnet node, set tip_number to best_known_block_number to avoid showing sync failure.

@Danie0918

Copy link
Copy Markdown

@homura @twhy Please have a review.

Comment thread packages/neuron-wallet/src/controllers/sync-api.ts

@homura homura left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I suggest changing the title to 'fix: wrong sync status when using devnet'

@devchenyan devchenyan changed the title fix: Dev network show mistake sync status fix: wrong sync status when using devnet Jun 7, 2024
@devchenyan
devchenyan requested a review from silySuper June 7, 2024 12:36
@Keith-CY

Keith-CY commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

/package
Packaging for test is done in 9476055353. @Keith-CY

@Keith-CY

Copy link
Copy Markdown
Contributor

@silySuper please check

@Keith-CY
Keith-CY merged commit aa100d7 into develop Jun 12, 2024
@Keith-CY
Keith-CY deleted the feat-359 branch June 12, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants