planner: add governance voting #4307
Labels
A-client
Area: Design and implementation for client functionality
A-governance
Area: Governance
C-design
Category: work on the design of Penumbra
needs-refinement
unclear, incomplete, or stub issue that needs work
_P-high
High priority
_P-V1
Priority: slated for V1 release
Milestone
There's a governance voting regression in the planner per #4300.
This issue attempts to describe how validator voting worked in the original planner, and the necessary steps required to fold that functionality back in.
voting intents
in a BTreeMap, populated on calls todelegator_vote()
which appends the user's weighted vote to the BTreeMap. This doesn't add the votes to the planner quite yet.NotesForVotingRequest
from a specific starting block height to request the relevant voting note.SpendPlan
.delegator_vote_precise()
to add the votes to the planner asDelegatorVotePlan
.here's a reference for a first pass at an attempted voting fix.
cc @erwanor
The text was updated successfully, but these errors were encountered: