Skip to content

Commit

Permalink
No longer generate specs with consensus_engine field (paritytech#10346)
Browse files Browse the repository at this point in the history
* No longer generate specs with consensus_engine field

* #[allow(unused)]
  • Loading branch information
tomaka authored and grishasobol committed Mar 28, 2022
1 parent 97db070 commit be3d5c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/chain-spec/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit be3d5c3

Please sign in to comment.