Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Cleanup light client leftovers #11865

Merged
merged 5 commits into from
Jul 21, 2022

Conversation

dmitry-markin
Copy link
Contributor

@dmitry-markin dmitry-markin commented Jul 19, 2022

This PR removes the --light CLI option and cleans up the left-overs of the light client in substrate.

polkadot companion: paritytech/polkadot#5794
cumulus companion: paritytech/cumulus#1456

@dmitry-markin dmitry-markin added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Jul 19, 2022
@dmitry-markin dmitry-markin requested a review from arkpar July 19, 2022 18:57
client/service/src/lib.rs Outdated Show resolved Hide resolved
@arkpar
Copy link
Member

arkpar commented Jul 20, 2022

Looks good, except commented out code should be removed. Normally CLI options should be deprecated first, before being removed in a following release. But in this case the light is not actually working for some time. So I think dropping it won't break anyone's setup.

client/cli/src/config.rs Outdated Show resolved Hide resolved
@dmitry-markin dmitry-markin added A4-awaitingci and removed A0-please_review Pull request needs code review. A4-awaitingci labels Jul 20, 2022
@dmitry-markin
Copy link
Contributor Author

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 58a8080 into master Jul 21, 2022
@paritytech-processbot paritytech-processbot bot deleted the dm-cleanup-light-client-leftovers branch July 21, 2022 08:36
DaviRain-Su pushed a commit to octopus-network/substrate that referenced this pull request Aug 23, 2022
* Remove --light cli option

* Cleanup light client leftovers

* Remove commented-out code and clean-up more light client leftovers

* Fix formatting with `cargo +nightly fmt`

* Remove FIXME regarding db directory structure

Co-authored-by: Bastian Köcher <[email protected]>

Co-authored-by: Bastian Köcher <[email protected]>
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Remove --light cli option

* Cleanup light client leftovers

* Remove commented-out code and clean-up more light client leftovers

* Fix formatting with `cargo +nightly fmt`

* Remove FIXME regarding db directory structure

Co-authored-by: Bastian Köcher <[email protected]>

Co-authored-by: Bastian Köcher <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants