namada icon indicating copy to clipboard operation
namada copied to clipboard

VoteTx should fetch all the voter delegations on wasm

Open Fraccaman opened this issue 1 year ago • 2 comments

Right now, the vote_proposal tx is expecting from the client a list of validators for which the voter has a delegation to. The Governance VP is then validating the list, but the validation logic is redundant and not optimal. We should instead fetch the voter delegation list directly from the wasm transactions.

Fraccaman avatar Feb 05 '24 17:02 Fraccaman

@brentstone it would come real handy if we could easily fetch the set of validator addresses for a specific delegator

Fraccaman avatar Feb 05 '24 17:02 Fraccaman

If I recall correctly, there is a dependency issue between proof-of-stake and governance here that would possibly require a refactor.

brentstone avatar Apr 10 '24 00:04 brentstone