diff --git a/substrate/client/chain-spec/res/chain_spec.json b/substrate/client/chain-spec/res/chain_spec.json index 673f35d5079194ba9b1bfc0c960e3007cde2d79f..c3365a9192f6e7717ef12d5469bd8f7bd1bd7f22 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 950a7fc82749431771376591ec3428374b27fe75..00b9d603ae29e9d235e6f46c885790d0bac4910e 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 4aa0aa74630e0a37df192cff925571b841af5762..8d8f62a5182cfd6c8ab96ef57f0e232b29bb642d 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<E> { #[serde(flatten)] extensions: E, // Never used, left only for backward compatibility. + #[serde(default, skip_serializing)] consensus_engine: (), #[serde(skip_serializing)] #[allow(unused)]