Fix genFanoutTx and tx-cost bench to correctly evaluate fanout transactions
The init head output carries only tokens (0 ADA), so fanout evaluation was
always failing with HeadValueIsNotPreserved (H4). Additionally, toCommit' was
unconditionally generated causing accumulator commitment mismatches (H39) when
version == openVersion.
- genStOpen now generates a real u0 and inflates the head output with its
total value so close/fanout operations can cover snapshot outputs
- genFanoutTx only generates commit UTxO when openVersion /= version, keeping
the accumulator commitment in the closed datum consistent with what fanoutTx
builds; returns the inflated spendableUTxO so evaluation sees the correct
head input value
- forAllFanout uses the returned spendableUTxO instead of getKnownUTxO stClosed
- TxCost genFanoutTx returns utxoToFanout (inflated) as the lookup UTxO,
fixing the same value mismatch that caused the FanOut table to be empty
Signed-off-by: Sasha Bogicevic <[email protected]>