No longer generate specs with consensus_engine field (#10346)

* No longer generate specs with consensus_engine field

* #[allow(unused)]
This commit is contained in:
Pierre Krieger
2022-02-24 13:05:08 +01:00
committed by GitHub
parent ba81ba8048
commit eeb267e1d6
@@ -173,9 +173,8 @@ struct ClientSpec<E> {
#[serde(flatten)]
extensions: E,
// Never used, left only for backward compatibility.
// In a future version, a `skip_serializing` attribute should be added in order to no longer
// generate chain specs with this field.
#[serde(default)]
#[serde(default, skip_serializing)]
#[allow(unused)]
consensus_engine: (),
#[serde(skip_serializing)]
#[allow(unused)]