Skip to content

Commit

Permalink
Don't generate the consensusEngine field in chain specs (#10303)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored Nov 19, 2021
1 parent 439af98 commit 34bc246
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion substrate/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 substrate/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 substrate/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

0 comments on commit 34bc246

Please sign in to comment.