Operation_core.VotingVoting operations (validation pass 1): proposals and ballot.
Only the proposals operation is currently supported. Feel free to add support for ballot as needed.
val proposals : Account.key -> int -> string list -> tproposals source period protocol_hashes crafts a proposals operation, that is, an operation that submits candidate protocol hashes for voting.
val operation :
?branch:string ->
?client:Client.t ->
?signer:Account.key ->
t ->
operation Lwt.tContruct a voting operation from its representation.
val inject :
?request:[ `Inject | `Notify ] ->
?force:bool ->
?signature:Mavryk_crypto.Signature.t ->
?error:Tezt_wrapper.Base.rex ->
?branch:string ->
?signer:Account.key ->
t ->
Client.t ->
[ `OpHash of string ] Lwt.t