-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Removal of light client from substrate #9684
Conversation
Status? |
sorry missed that comment. will bring it up to date and see what's left. |
There's a lot of stuff that may be removed from |
Looks good. I'll make a PR to cleanup client/db and related crates later. |
@arkpar the problem I have removing the light client db is that the networking tests test light client rpc functionality and the 'test' light client uses the light client db at the moment. |
skip check-dependent-cumulus |
1 similar comment
skip check-dependent-cumulus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sc-light
client wasn't removed?
Just have read this. The task of this pr is to remove this stuff. I mean these light client tests make sense and should stay, but then we need a refactoring or whatever. However, most/all of the crate should be removed. |
ok will stop there and let @arkpar merge his stuff in as a separate pr. |
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
/cla run-cla-check |
Queueing command execution: run-cla-check |
@gilescope Command execution has finished. |
bot merge |
Error: Approval by "Project Owners" is only attempted if other means defined in the criteria for merge are not satisfied first. The following errors might have affected the outcome of this attempt:
Merge failed. Check out the criteria for merge. If you're not meeting the approval count, check if the approvers are members of substrateteamleads or core-devs. |
ah I see theres changes requested on the polkadot companion. |
Don't merge. The companion isn't ready yet. |
bot merge |
* Removal of light client from substrate * add missing import * These tests relate to there being light and non light clients. * removing lightnodes from test * cargo fmt * not needed * LightDataChecker not needed any longer * cargo fmt * Update client/service/test/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update client/service/test/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * cargo fmt Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Removal of light client from substrate * add missing import * These tests relate to there being light and non light clients. * removing lightnodes from test * cargo fmt * not needed * LightDataChecker not needed any longer * cargo fmt * Update client/service/test/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update client/service/test/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * cargo fmt Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
As discussed in the retreat we are simplifying before refactoring by not shipping a light client out of the box with substrate. (Current users should look towards https://github.com/paritytech/substrate-connect as a purpose built solution to this usecase)
The client network tests that support light client requests use a full light client at the moment which is why more is not initially removed.
polkadot companion: paritytech/polkadot#4105
skip check-dependent-cumulus