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

*: Enable refactored authority discovery #624

Conversation

mxinden
Copy link
Contributor

@mxinden mxinden commented Nov 28, 2019

This pull request introduces the refactored version of the authority discovery module into the master branch for the Kusamam v0.7 release. The feature is gated behind the --enable-authority-discovery feature flag.

Important: This pull request replaces #601. It points at https:/paritytech/polkadot/tree/fix_polkadot_for_light_tx_pool3 for now which in turn is based on #623. Once those branches are in master I can point this pull request against master as well.

Make sure existing key types don't change their order by appending the
authority discovery id instead of injecting it between im online id and
parachain validator id.
@mxinden mxinden added the A0-please_review Pull request needs code review. label Nov 28, 2019
@parity-cla-bot
Copy link

It looks like @mxinden signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@jacogr
Copy link
Contributor

jacogr commented Nov 28, 2019

Since we are only gating the feature, i.e. the Keys struct has all 5, happy with this.

@gavofyork gavofyork merged commit 8b74b57 into paritytech:fix_polkadot_for_light_tx_pool3 Nov 28, 2019
@mxinden
Copy link
Contributor Author

mxinden commented Nov 28, 2019

Since we are only gating the feature, i.e. the Keys struct has all 5, happy with this.

To make sure we are on the same page @jacogr: The additional session key is introduced both if the feature flag is enabled, as well if it is disabled.

The feature flag enables the logic of putting ones addresses on the DHT and querying the DHT for other peoples addresses.

@jacogr
Copy link
Contributor

jacogr commented Nov 28, 2019

100%, it would have been an issue if the key dropped in-and-out of the structure.

gavofyork added a commit that referenced this pull request Nov 28, 2019
* Update to latest Substrate master (#615)

* Update to latest Substrate master

* Remove unneeded patch + warning

* Update `Cargo.lock`

* Fix tests

* Update again

* Bump Substrate (#616)

* Update lock

* Fix

* Few fixes

* Bump to latest Substrate

* Fixes

* fix pre-tx-pool compilation

* more compilation fixes

* Updates for the injection period

- Liberal slash-refunding
- Instant unbonding

* *: Enable refactored authority discovery (#624)

* *: Enable authority discovery module

* *: List authority discovery id after parachain validator id

Make sure existing key types don't change their order by appending the
authority discovery id instead of injecting it between im online id and
parachain validator id.

* *: Gate authority discovery module behind feature flag

* cli/src/lib.rs: Fix warnings

* cli/src/lib.rs: Shorten line length

* Bump Substrate

* Bump Substrate

* Line widths

* Line widths again

* Revert bump.
tomusdrw added a commit that referenced this pull request Mar 26, 2021
* Document relayers fund existence and add root account.

* Introduce initialize method instead of assuming that relayer_fund_account is always required.

* cargo fmt --all

* Fix benchmarks.

* cargo fmt --all

* Fix docs for the relayer fund account.
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants