test(dao): update proposal_create test fixture for new args (stake_in + tip_slot + GST)

This commit is contained in:
Kayos 2026-05-05 20:56:09 -07:00
parent ea2ee01503
commit afd0cfb298

View file

@ -707,6 +707,32 @@ mod tests {
output_index: 1,
lovelace: 1_254_210,
datum: sample_governor_datum(),
// Sulkta GST policy (discovered via tx_info on the create tx).
gst_policy_hex: "568ee4f1cb41050000000000000000000000000000000000000000ee".into(),
gst_asset_name_hex: "".into(),
},
stake_in: StakeUtxoIn {
tx_hash_hex: "0823a9406da1a62743c3f4edd0ffcfb3ad6fda02cb312825d29fe655c53564a6"
.into(),
output_index: 1,
lovelace: 1_555_910,
gov_token_qty: 250,
stake_st_asset_name_hex:
"f70e7830cde5fc7288f8a4892c148eebbb7a982b5413dd32712d3da4".into(),
datum: StakeDatum {
staked_amount: 250,
owner: Credential::PubKey(
hex::decode("84d08bace7a5f23591d80e91dccd43fa3ea55a8d974f208842b6f2f3")
.unwrap(),
),
delegated_to: None,
locked_by: vec![],
},
},
tip_slot: 180_062_536,
stake_validator_ref: ReferenceUtxo {
tx_hash_hex: "479b8203c8b84ce20bb0a1c6ee1f527f122d1ce3e655dfc54635061eff622aea".into(),
output_index: 2,
},
proposer_pkh: hex::decode(
"84d08bace7a5f23591d80e91dccd43fa3ea55a8d974f208842b6f2f3",