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

Don't generate the consensusEngine field in chain specs #10303

Merged

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Nov 18, 2021

The consensusEngine field of chain specs hasn't been used in years. Let's no longer generate it, and allow decoding chain specs that don't have this field.

@tomaka tomaka added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Nov 18, 2021
@tomaka tomaka requested a review from bkchr November 18, 2021 08:08
@bkchr
Copy link
Member

bkchr commented Nov 18, 2021

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Merge cancelled due to error. Error: Checks failed for cffc254

@bkchr
Copy link
Member

bkchr commented Nov 19, 2021

bot merge

@paritytech-processbot
Copy link

Bot will approve on the behalf of @bkchr, since they are a team lead, in an attempt to reach the minimum approval count

@paritytech-processbot paritytech-processbot bot merged commit 72b9c36 into paritytech:master Nov 19, 2021
@tomaka tomaka deleted the chain-spec-no-consensus-engine branch November 19, 2021 10:12
@apopiak
Copy link
Contributor

apopiak commented Nov 22, 2021

Could we maybe keep generating the key until most clients don't require it anymore?
This change currently leads to not being able to run polkadot-launch with polkadot-0.9.13 and a parachain node based on a cumulus version with polkadot-0.9.12

@bkchr
Copy link
Member

bkchr commented Nov 22, 2021

Just add the key manually.

@apopiak
Copy link
Contributor

apopiak commented Nov 23, 2021

Just add the key manually.

Of course that's possible in principle, but that's not how polkadot-launch works. (it generates chainspecs that it then uses without any chance to edit manually)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants