Fills the third of pallas-txbuilder's Conway TODOs (after auxiliary_data + certificates): - StagingTransaction gains `voting_procedures: Option<Vec<u8>>` (opaque CBOR — same Eq-derive workaround as auxiliary_data + certificates) - Builder methods .voting_procedures(cbor_bytes) + .clear_voting_procedures() - conway::build_conway_raw decodes via VotingProcedures::decode_fragment and assigns to TransactionBody.voting_procedures VotingProcedures is itself a NonEmptyKeyValuePairs<Voter, NonEmptyKeyValuePairs<GovActionId, VotingProcedure>> map, so callers pre-assemble the full map and encode once. Tests: - voting_procedures_plumb_through_to_tx_body — encode DRepKey vote-Yes on a synthetic GovActionId, build, decode, assert round-trip - no_voting_procedures_means_none — negative path |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||