Skip to content

fix: Fix some bugs, details are in description. - #2641

Merged
yanguoyu merged 3 commits into
nervosnetwork:support-light-clientfrom
yanguoyu:fix-light-client
Apr 21, 2023
Merged

fix: Fix some bugs, details are in description.#2641
yanguoyu merged 3 commits into
nervosnetwork:support-light-clientfrom
yanguoyu:fix-light-client

Conversation

@yanguoyu

Copy link
Copy Markdown
Contributor
  1. Fetch some contract blocks when starting the sync
  2. Use getHeader to replace getHeaderByNumber
  3. Get live cells from local SQLITE when generating transactions.
  4. Remove getBlockchainInfo from UI because chainInfo is not used in UI.

1. Fetch some contract blocks when starting the sync
2. Use `getHeader` to replace `getHeaderByNumber`
3. Get live cells from local SQLITE when generating transactions.
4. Remove `getBlockchainInfo` from UI because chainInfo is not used in UI.
Comment thread packages/neuron-ui/src/components/NervosDAO/hooks.ts Outdated
@yanguoyu
yanguoyu merged commit f0f680a into nervosnetwork:support-light-client Apr 21, 2023
@yanguoyu
yanguoyu deleted the fix-light-client branch April 21, 2023 01:50
yanguoyu added a commit that referenced this pull request Apr 21, 2023
* fix: Fix some bugs, details are in description.

1. Fetch some contract blocks when starting the sync
2. Use `getHeader` to replace `getHeaderByNumber`
3. Get live cells from local SQLITE when generating transactions.
4. Remove `getBlockchainInfo` from UI because chainInfo is not used in UI.
5. When call setCurrent should restart queue when network is light client.
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.

4 participants