Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 4544e6d

Browse files
authored
No longer generate specs with consensus_engine field (#10346)
* No longer generate specs with consensus_engine field * #[allow(unused)]
1 parent 19460bc commit 4544e6d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client/chain-spec/src/chain_spec.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,8 @@ struct ClientSpec<E> {
173173
#[serde(flatten)]
174174
extensions: E,
175175
// Never used, left only for backward compatibility.
176-
// In a future version, a `skip_serializing` attribute should be added in order to no longer
177-
// generate chain specs with this field.
178-
#[serde(default)]
176+
#[serde(default, skip_serializing)]
177+
#[allow(unused)]
179178
consensus_engine: (),
180179
#[serde(skip_serializing)]
181180
#[allow(unused)]

0 commit comments

Comments
 (0)