bloxbean / aiken-java-binding

A Java binding for Aiken

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for contract call with reference inputs

satran004 opened this issue · comments

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.

Isn't already done in CCL 0.5-alpha?

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