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

Cleanup light client leftovers #5794

Merged
merged 4 commits into from
Jul 21, 2022
Merged

Conversation

dmitry-markin
Copy link
Contributor

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

This PR completely deprecates light client mode. Companion to paritytech/substrate#11865

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 A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Jul 19, 2022
Copy link
Contributor

@sandreim sandreim left a comment

Choose a reason for hiding this comment

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

LGTM, we could also be removing these as well:

@dmitry-markin
Copy link
Contributor Author

dmitry-markin commented Jul 20, 2022

@sandreim, thanks, missed test-parachains, fixed.

As for node/network/protocol/src/lib.rs, doesn't ObservedRole represent a self-reported role of the remote node, not us? Which can be reported, i.e., by smoldot Or am I missing something?

@dmitry-markin
Copy link
Contributor Author

dmitry-markin commented Jul 20, 2022

| wasm source files changed or the spec version in the substrate reference in
| the Cargo.lock but not the spec/impl version. If changes made do not alter
| logic, just bump 'impl_version'. If they do change logic, bump
| 'spec_version'.
| 
| source file directories:
| - runtime
| 
| version files: kusama polkadot westend rococo

Could somebody help with this check? No files in runtime directory were changed by the PR, nor the version of substrate in Cargo.lock

@bkchr
Copy link
Member

bkchr commented Jul 20, 2022

| wasm source files changed or the spec version in the substrate reference in
| the Cargo.lock but not the spec/impl version. If changes made do not alter
| logic, just bump 'impl_version'. If they do change logic, bump
| 'spec_version'.
| 
| source file directories:
| - runtime
| 
| version files: kusama polkadot westend rococo

Could somebody help with this check? No files in runtime directory were changed by the PR, nor the version of substrate in Cargo.lock

You can ignore this

@dmitry-markin dmitry-markin requested review from sandreim and removed request for shawntabrizi July 20, 2022 14:27
@sandreim
Copy link
Contributor

@sandreim, thanks, missed test-parachains, fixed.

As for node/network/protocol/src/lib.rs, doesn't ObservedRole represent a self-reported role of the remote node, not us? Which can be reported, i.e., by smoldot Or am I missing something?

I think you are correct.

@dmitry-markin dmitry-markin added A8-mergeoncegreen and removed A0-please_review Pull request needs code review. labels Jul 21, 2022
@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Merge cancelled due to error. Error: Response error (status 500 Internal Server Error):

{"error_message":""}

@dmitry-markin dmitry-markin merged commit 7f3e99d into master Jul 21, 2022
@dmitry-markin dmitry-markin deleted the dm-cleanup-light-client-leftovers branch July 21, 2022 09:31
ordian added a commit that referenced this pull request Jul 22, 2022
* master:
  westend xcm: collectives parachain is trusted teleporter (#5798)
  Cleanup light client leftovers (#5794)
  Fix benchmarking tests (#5791)
  allow re-use and avoid compiling kusama parachain code (#5792)
  Introduce async runtime calling trait for runtime-api subsystem (#5782)
  add `Extrinsic Ordering` check that runs against a local reference node (#5790)
  Co #11456: Expose `benchmark extrinsic` command (#5620)
  `staking-miner`:  Add handling of `SIGTERM`, `SIGKILL`, `SIGQUIT` and `SIGINT` (#5780)
  Zombienet: paritydb test (#5310)
  Fix Typo (#5766)
  Fix Core Version display in the release notes (#5781)
  companion for new pools reward scheme (#5757)
  fix disable-runtime-api feature flag (#5773)
  split NetworkBridge into two subsystems (#5616)
  Implement prune only stagnant check mode (#5761)
ordian added a commit that referenced this pull request Jul 28, 2022
* master: (37 commits)
  Backport crate version bumps to 0.9.27 (#5826)
  Fix GHA (#5825)
  [ci] Add timeout to benchmark jobs (#5822)
  Parachains db column "migration" (#5797)
  Companion for #11831 (#5784)
  [ci] Return production image (#5818)
  add migration for staking v10 (#5817)
  Prepare for rust 1.62.1 (#5811)
  Bump strum to 0.24.1 (#5816)
  Bump substrate (#5814)
  Add missing trigger wildcards for some CI workflows (#5812)
  malus: add `finality_delay` cli flag (#5770)
  [ci] publish parachain-implementers-guide (#5806)
  westend xcm: collectives parachain is trusted teleporter (#5798)
  Cleanup light client leftovers (#5794)
  Fix benchmarking tests (#5791)
  allow re-use and avoid compiling kusama parachain code (#5792)
  Introduce async runtime calling trait for runtime-api subsystem (#5782)
  add `Extrinsic Ordering` check that runs against a local reference node (#5790)
  Co #11456: Expose `benchmark extrinsic` command (#5620)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. 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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants