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

Don't generate the consensusEngine field in chain specs #10303

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion client/chain-spec/res/chain_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
["wss://telemetry.polkadot.io/submit/", 0]
],
"protocolId": "fir",
"consensusEngine": null,
"genesis": {
"raw": [
{
Expand Down
1 change: 0 additions & 1 deletion client/chain-spec/res/chain_spec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
["wss://telemetry.polkadot.io/submit/", 0]
],
"protocolId": "fir",
"consensusEngine": null,
"myProperty": "Test Extension",
"genesis": {
"raw": [
Expand Down
1 change: 1 addition & 0 deletions client/chain-spec/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ struct ClientSpec<E> {
#[serde(flatten)]
extensions: E,
// Never used, left only for backward compatibility.
#[serde(default, skip_serializing)]
consensus_engine: (),
#[serde(skip_serializing)]
#[allow(unused)]
Expand Down