Skip to content

Commit c59fabb

Browse files
committed
Clarify that a voter needs to be registered to vote
1 parent 7854d25 commit c59fabb

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/Ledger/Gov.lagda

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,11 @@ The GOV transition system is now given as the reflexitive-transitive
438438
closure of the system GOV', described in
439439
Figure~\ref{defs:gov-rules}.
440440

441-
For \GOVVote{}, we check that the governance action being voted on
442-
exists and the role is allowed to vote. \canVote{} is defined in
443-
Figure~\ref{fig:ratification-requirements}. Note that there are no
444-
checks on whether the credential is actually associated with the
445-
role. This means that anyone can vote for, e.g., the \CC{} role. However,
446-
during ratification those votes will only carry weight if they are
447-
properly associated with members of the constitutional committee.
441+
For \GOVVote, we check that the governance action being voted on
442+
exists; that the voter's role is allowed to vote (see \canVote{} in
443+
Figure~\ref{fig:ratification-requirements}); and that the voter's
444+
credential is actually associated with their role (see
445+
\isRegistered{} in Figure~\ref{defs:gov-defs}).
448446

449447
For \GOVPropose{}, we check the correctness of the deposit along with some
450448
and some conditions that ensure the action is well-formed and valid;

src/latex/agda-latex-macros.sty

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@
325325
\newcommand{\isScript}{\AgdaDatatype{isScript}\xspace}
326326
\newcommand{\isInl}{\AgdaFunction{isInj₁}\xspace}
327327
\newcommand{\isInr}{\AgdaFunction{isInj₂}\xspace}
328+
\newcommand{\isRegistered}{\AgdaFunction{isRegistered}\xspace}
328329

329330
\newcommand{\just}{\AgdaInductiveConstructor{just}\xspace}
330331

0 commit comments

Comments
 (0)