-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sc-chain-spec
: deprecated code removed (#4410)
This PR removes deprecated code: - The `RuntimeGenesisConfig` generic type parameter in `GenericChainSpec` struct. - `ChainSpec::from_genesis` method allowing to create chain-spec using closure providing runtime genesis struct - `GenesisSource::Factory` variant together with no longer needed `GenesisSource`'s generic parameter `G` (which was intended to be a runtime genesis struct). https://github.com/paritytech/polkadot-sdk/blob/17b56fae2d976a3df87f34076875de8c26da0355/substrate/client/chain-spec/src/chain_spec.rs#L559-L563
- Loading branch information
1 parent
a709768
commit 2d3a693
Showing
21 changed files
with
143 additions
and
365 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
title: "[sc-chain-spec] Remove deprecated code" | ||
|
||
doc: | ||
- audience: Node Dev | ||
description: | | ||
The RuntimeGenesisConfig generic type parameter was removed from GenericChainSpec struct. | ||
ChainSpec::from_genesis method was removed. | ||
Removed related deprecated code from `sc-chain-spec`. | ||
This change simplifies the codebase and ensures the use of up-to-date definitions. | ||
|
||
crates: | ||
- name: sc-service | ||
bump: minor | ||
- name: minimal-template-node | ||
bump: minor | ||
- name: sc-cli | ||
bump: patch | ||
- name: polkadot-test-service | ||
bump: major | ||
- name: sc-service-test | ||
bump: major | ||
- name: staging-node-cli | ||
bump: major | ||
- name: parachain-template-node | ||
bump: minor | ||
- name: solochain-template-node | ||
bump: minor | ||
- name: polkadot-parachain-bin | ||
bump: major | ||
- name: polkadot-service | ||
bump: major | ||
- name: sc-consensus-grandpa | ||
bump: patch | ||
- name: cumulus-test-service | ||
bump: minor | ||
- name: sc-chain-spec | ||
bump: major |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
114 changes: 0 additions & 114 deletions
114
substrate/client/chain-spec/res/chain_spec_as_json_fails_with_invalid_config.err
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.