-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Don't Merge) SCRIPT COST ERROR - After adding V2 & V3 version of the GiftCard example compiled by Aiken 1.1.2 #444
base: master
Are you sure you want to change the base?
Conversation
The current The Aiken Java binding project upgrade is in progress now. |
@lucky777ada I have pushed a snapshot version of aiken-java-binding with the fix to sontype repository. Can you please try? Here's the pom.xml details
|
Yes, I'll try it and report back. Regarding your comment: It does work with the V2 you have in the example, but it fails if you compile the same Aiken code with the new compiler even if the target is V2. So probably there has been a breaking change. |
Alright, tried again with 0.0.9-SNAPSHOT and got the same error: The transaction that was evaluated: |
Quality Gate passedIssues Measures |
Added version V2 & V3 of the updated GiftCard example.
When executed there's an error for the new compiled V2 & V3 scripts:
quicktx.QuickTxBuilder$TxContext (QuickTxBuilder.java:351) - Error while evaluating script cost com.bloxbean.cardano.client.function.exception.TxBuildException: Failed to compute script cost : {"ScriptFailures":{}} at com.bloxbean.cardano.client.function.helper.ScriptCostEvaluators.lambda$evaluateScriptCost$0(ScriptCostEvaluators.java:40) at com.bloxbean.cardano.client.quicktx.QuickTxBuilder$TxContext.lambda$build$3(QuickTxBuilder.java:348) at com.bloxbean.cardano.client.function.TxBuilder.lambda$andThen$0(TxBuilder.java:48) at com.bloxbean.cardano.client.function.TxBuilder.lambda$andThen$0(TxBuilder.java:47) at com.bloxbean.cardano.client.function.TxBuilder.lambda$andThen$0(TxBuilder.java:47) at com.bloxbean.cardano.client.function.TxBuilderContext.build(TxBuilderContext.java:259) at com.bloxbean.cardano.client.quicktx.QuickTxBuilder$TxContext.build(QuickTxBuilder.java:372) at com.bloxbean.cardano.client.quicktx.QuickTxBuilder$TxContext.buildAndSign(QuickTxBuilder.java:389)
aiken.toml
version = "0.0.0"
compiler = "v1.1.2"
plutus = "v3" // & v2 respectively
license = "Apache-2.0"
description = "Aiken contracts for project"
[[dependencies]]
name = "aiken-lang/stdlib"
version = "v2.0.0"
source = "github"