HotShot icon indicating copy to clipboard operation
HotShot copied to clipboard

[EPOCH TRANSITION] - `Membership` trait's methods take epoch parameter

Open lukaszrzasik opened this issue 4 months ago • 0 comments

What is this task and why do we need to work on it?

This is required to implement a variable stake table. Stake table can change while transitioning from one epoch to the next. Looking at it from a different angle: there are multiple stake tables, one per epoch. Most of the method's in the Membership trait need take an additional parameter: epoch.

Epoch transition details can be found here: https://www.notion.so/espressosys/Epoch-transition-without-extra-types-and-with-last-votes-broadcast-1112431b68e98092a47aea71b41bec8c

What work will need to be done to complete this task?

No response

Are there any other details to include?

No response

What are the acceptance criteria to close this issue?

The Membership trait's method take an additional parameter epoch where applicable. This task alone doesn't include the epoch transition so the functionality should be mocked.

Branch work will be merged to (if not the default branch)

No response

lukaszrzasik avatar Oct 03 '24 09:10 lukaszrzasik