Validate_errors.Voting
Errors that may arise while validating a voting operation.
type Mavryk_protocol_environment_alpha.Error_monad.error +=
| Wrong_voting_period_index of {
}
| Wrong_voting_period_kind of {
current : Alpha_context.Voting_period.kind;
expected : Alpha_context.Voting_period.kind list;
}
| Source_not_in_vote_listings
| Empty_proposals
| Proposals_contain_duplicate of {
}
| Already_proposed of {
}
| Too_many_proposals of {
}
| Conflicting_proposals of operation_conflict
| Testnet_dictator_multiple_proposals
| Proposals_from_unregistered_delegate of Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t
| Ballot_for_wrong_proposal of {
current : Mavryk_protocol_environment_alpha.Protocol_hash.t;
submitted : Mavryk_protocol_environment_alpha.Protocol_hash.t;
}
| Already_submitted_a_ballot
| Ballot_from_unregistered_delegate of Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t
| Conflicting_ballot of operation_conflict