I was testing some stuff on testnet with the always succeed plutus script and when trying to claim a UTXO I got the following error.
cardano-cli: evaluateTransactionExecutionUnits: the impossible happened: MissingScript ScriptWitnessIndexTxIn 0 CallStack (from HasCallStack):
I cant seem to parse this statement, any ideas?
The transaction is being build in the following way
cardano-cli transaction build --alonzo-era --testnet-magic $magicnr \ --tx-in 0b4cb5132eda910e6cbf2763d0c2949859d6c306e6982db3c1de7f7ae12091b6#1 \ --tx-in-script-file AlwaysSucceeds.plutus \ --tx-in-datum-value 40 --tx-in-redeemer-value 40 \ --tx-in-collateral e2f9d09f7d9d1a8238be0d454c78492f15eb59aa7f2c11c448bfa2678c5a06f7#0 \ --change-address addr_test1vrpc07j7cy82v90kj2xpskldwr2m4m4cwk37v7g7fpm89fgvg4y3n \ --protocol-params-file protocol.json --out-file body.tx
Following the lead of the error I found the stated function in /Api/Fees.hs, see Cardano.Api.Fees. Reading the function I cannot see how I can do anything about it failing? Sould I rebuild the software with cabal?