Support for contract call with reference inputs
satran004 opened this issue · comments
Satya commented
In v0.0.2, if transaction has reference inputs, script evaluation fails with following error.
RedeemerError { tag: "Spend", index: 0, err: ResolvedInputNotFound }
Workaround : During the transaction cost evaluation, remove the reference inputs from the transaction and add the plutus script to the witness set. After calculating the script cost, you can add back the reference input again.
matiwinnetou commented
Isn't already done in CCL 0.5-alpha?
Satya commented
Yes, it is included in 0.5.0-alpha.2. However, due to the package renaming in Cardano Client Lib, it is required to update the Aiken Java Binding accordingly
Satya commented