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

Document staking mechanism in substrate #1498

Closed
Kalanamith opened this issue Jan 21, 2019 · 4 comments
Closed

Document staking mechanism in substrate #1498

Kalanamith opened this issue Jan 21, 2019 · 4 comments
Assignees
Labels
I6-documentation Documentation needs fixing, improving or augmenting.
Milestone

Comments

@Kalanamith
Copy link

Kalanamith commented Jan 21, 2019

The current staking mechanism spreads across multiple modules in the substrate.

  • Seating
  • Council
  • Staking

has dependencies for staking.

It will be nice to have an overview of this

@gavofyork
Copy link
Member

Fwiw, the only module that is used for staking is, as might be expected, staking. The others cover governance.

@gavofyork gavofyork added the I6-documentation Documentation needs fixing, improving or augmenting. label Jan 21, 2019
@gavofyork gavofyork self-assigned this Jan 21, 2019
@gavofyork gavofyork added this to the 1.0gamma milestone Jan 21, 2019
@Kalanamith
Copy link
Author

@gavofyork Thanks, I sense there might be a weak dependency for Staking via the council -> seats.rs

fn present_winner

method. Please correct if wrong.

@gavofyork
Copy link
Member

I believe you are wrong.

Thee council module have no dependency on the staking module as can be trivially verified in the dependencies section of its Cargo.toml file.

May I ask why you conclude that there is a dependency?

@gavofyork gavofyork modified the milestones: 1.0gamma, 1.0 (final) Feb 6, 2019
@gavofyork
Copy link
Member

Will do this at same time as #1709

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I6-documentation Documentation needs fixing, improving or augmenting.
Projects
None yet
Development

No branches or pull requests

2 participants