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 authored and GitHub committed 2022-02-24 12:05:08 +00:00
1 parent ba81ba8048
commit eeb267e1d6
1 file changed
+2 -3
@@ -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)]