pallas/pallas-txbuilder
Kayos 507fd9da15 pallas-txbuilder: thread voting_procedures through StagingTransaction → Conway build
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
2026-05-06 07:11:23 -07:00
..
src pallas-txbuilder: thread voting_procedures through StagingTransaction → Conway build 2026-05-06 07:11:23 -07:00
Cargo.toml Release 0.32.1 2025-06-25 10:28:02 -03:00
README.md fix: add missing READMEs for crate publish 2024-01-04 11:58:28 -03:00

Pallas TxBuilder