Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property: When a voter votes, that vote is applied to the GA #417

Open
Tracked by #45
WhatisRT opened this issue May 6, 2024 · 0 comments
Open
Tracked by #45

Property: When a voter votes, that vote is applied to the GA #417

WhatisRT opened this issue May 6, 2024 · 0 comments

Comments

@WhatisRT
Copy link
Collaborator

WhatisRT commented May 6, 2024

This property is somewhat difficult to state, since the obvious thing isn't true: A voter (the pair of credential & role) can vote twice on the same thing, in a single transaction, and only the last vote applies. So there are two options:

  • If a voter only votes once in a block, that vote is in the state, or
  • the last vote that a voter cast in a block is contained in the state.

Proving this should be pretty straightforward, we can prove it for GOV' and then lift it all the way to CHAIN.

@WhatisRT WhatisRT changed the title When a DRep votes, that vote always applies to the GA Property: When a DRep votes, that vote always applies to the GA May 6, 2024
@WhatisRT WhatisRT changed the title Property: When a DRep votes, that vote always applies to the GA Property: When a voter votes, that vote is applied to the GA May 6, 2024
@WhatisRT WhatisRT added this to the May - Jul milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant