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

Conversation

@andresilva
Copy link
Contributor

The SessionHandler is extended with a method for informing about the genesis validator set. This avoids having to configure all of the keys in the chain spec as they will all be initialized from the session module. I still kept the authorities configurable in the modules that interact with session (grandpa, babe, i'm online) because it is useful when using those modules without session.

@andresilva andresilva added A0-please_review Pull request needs code review. M4-core labels Aug 15, 2019
@andresilva andresilva requested review from bkchr and gavofyork August 15, 2019 21:33
bkchr
bkchr previously requested changes Aug 15, 2019
Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

But, please make sure that the authorities are always set just once in the genesis. (just retrieve the value from the storage and assert if the value is already set)

@andresilva andresilva force-pushed the andre/genesis-session branch from ed8a998 to 2333330 Compare August 15, 2019 21:43
@andresilva andresilva force-pushed the andre/genesis-session branch from 2333330 to 4ef9388 Compare August 15, 2019 21:48
@andresilva andresilva force-pushed the andre/genesis-session branch from 625c6b4 to 90bd3f2 Compare August 15, 2019 22:43
@andresilva andresilva force-pushed the andre/genesis-session branch from 3cac2a5 to f482460 Compare August 16, 2019 00:04
@andresilva
Copy link
Contributor Author

andresilva commented Aug 16, 2019

I have no clue why the build is failing to compile.

Forgot a default-features = false in a runtime module dependency.

@gavofyork gavofyork requested a review from bkchr August 16, 2019 08:02
@gavofyork gavofyork dismissed bkchr’s stale review August 16, 2019 08:02

according changes made

@gavofyork gavofyork added A8-looksgood and removed A0-please_review Pull request needs code review. labels Aug 16, 2019
@gavofyork
Copy link
Member

should really be bumping runtime version.

@svyatonik svyatonik merged commit 8258647 into master Aug 16, 2019
@svyatonik svyatonik deleted the andre/genesis-session branch August 16, 2019 08:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants