diff --git a/substrate/client/chain-spec/res/chain_spec.json b/substrate/client/chain-spec/res/chain_spec.json index 673f35d507..c3365a9192 100644 --- a/substrate/client/chain-spec/res/chain_spec.json +++ b/substrate/client/chain-spec/res/chain_spec.json @@ -19,7 +19,6 @@ ["wss://telemetry.polkadot.io/submit/", 0] ], "protocolId": "fir", - "consensusEngine": null, "genesis": { "raw": [ { diff --git a/substrate/client/chain-spec/res/chain_spec2.json b/substrate/client/chain-spec/res/chain_spec2.json index 950a7fc827..00b9d603ae 100644 --- a/substrate/client/chain-spec/res/chain_spec2.json +++ b/substrate/client/chain-spec/res/chain_spec2.json @@ -19,7 +19,6 @@ ["wss://telemetry.polkadot.io/submit/", 0] ], "protocolId": "fir", - "consensusEngine": null, "myProperty": "Test Extension", "genesis": { "raw": [ diff --git a/substrate/client/chain-spec/src/chain_spec.rs b/substrate/client/chain-spec/src/chain_spec.rs index 4aa0aa7463..8d8f62a518 100644 --- a/substrate/client/chain-spec/src/chain_spec.rs +++ b/substrate/client/chain-spec/src/chain_spec.rs @@ -168,6 +168,7 @@ struct ClientSpec { #[serde(flatten)] extensions: E, // Never used, left only for backward compatibility. + #[serde(default, skip_serializing)] consensus_engine: (), #[serde(skip_serializing)] #[allow(unused)]