Without language_view, pallas does not compute script_data_hash on the tx body. Plutus txs without script_data_hash get rejected with ConwayUtxowFailure (PPViewHashesDontMatch SNothing (SJust ...)). Caught 2026-05-07 attempting governor bootstrap on preprod against Agora's V2 GST policy. Previous code only set language_view when the policy was V3 — every V2 mint hit the chain rejection. Three changes: 1. crates/aldabra-core/src/plutus_cost_models.rs — append PLUTUS_V2_COST_MODEL_PREPROD constant (175 i64 entries), pulled live from preprod Koios epoch_params 2026-05-07. Same protocol- version convention as the existing V3 constant: V2 cost model is identical mainnet vs preprod (cost models are protocol-version parameters, not network), so the _PREPROD suffix is naming convention, not a separation point. 2. crates/aldabra-core/src/plutus_mint.rs — replace the V3-only language_view block with a per-PlutusVersion match. V2 wires the new constant; V3 keeps the existing params.plutus_v3_cost_model path; V1 left as TODO with a note (no V1 mint use case yet). 3. crates/aldabra-dao/examples/dump_governor.rs — small cargo example that encodes a sample GovernorDatum to CBOR hex via the existing aldabra_dao::agora::GovernorDatum::to_plutus_data path. Used during preprod DAO bringup to construct the inline datum for the governor bootstrap tx. Edit values + re-run for any DAO bringup. Builds against the existing pallas-codec dev-dependency. |
||
|---|---|---|
| .. | ||
| aldabra-chain | ||
| aldabra-core | ||
| aldabra-dao | ||
| aldabra-mcp | ||