Skip to content
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

SCRIPT COST ERROR - After adding V2 & V3 version of the GiftCard example compiled by Aiken 1.1.2 #445

Open
lucky777ada opened this issue Sep 17, 2024 · 0 comments

Comments

@lucky777ada
Copy link

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"

Backend Service = BlockFrost - PreProd

I have a pull request on a fork in case you want to just run the code to replicate:

#444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant