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

Release [email protected] #384

Closed
Keith-CY opened this issue Apr 14, 2024 · 2 comments
Closed

Release [email protected] #384

Keith-CY opened this issue Apr 14, 2024 · 2 comments
Assignees

Comments

@Keith-CY
Copy link
Member

A performance issue has been found in ckb light [email protected] which may lead to halted sync, and enormous logs.

This problem has been fixed in ckb light [email protected](https://github.com/nervosnetwork/ckb-light-client/releases/tag/v0.3.7) and the light client in Neuron has been upgraded by nervosnetwork/neuron#3122

Almost all light client users will be impacted by this performance issue, so it's expected to be delivered ASAP.

The new release is ready at https://github.com/nervosnetwork/neuron/tree/rc/v0.114.3 please have a test @silySuper

Ref:

@Keith-CY
Copy link
Member Author

How to reproduce:

This issue was caused by subscribe an empty script list to the light client.

Each time Neuron connects to the light client, Neuron will fetch the subscribed script list from it, then subscribe diff(subscribed script list, current script list). If all scripts have been subscribed before, an empty script list will be sent to the light client and the bug will be triggered.

So the following steps should lead to this case:

  1. generate a new wallet;
  2. switch to another wallet;
  3. switch back to the new wallet, an empty script list will be subscribed because the script list of the fresh wallet won't grow.

@Keith-CY
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants