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

[BUG] - PlutusScriptV1 is not supported in Babbage #3886

Closed
mkoura opened this issue May 23, 2022 · 7 comments
Closed

[BUG] - PlutusScriptV1 is not supported in Babbage #3886

mkoura opened this issue May 23, 2022 · 7 comments
Labels
bug Something isn't working comp: cardano-cli era: babbage priority: critical Requires immediate attention. Critical issue that needs to be fixed ASAP and released as hotfix. severity: critical A core function of the system isn’t responsive or is returning invalid data. type: blocker Major issue, the tagged version cannot be released user type: internal Created by an IOG employee Vasil_blocker Vasil

Comments

@mkoura
Copy link
Contributor

mkoura commented May 23, 2022

Internal

Area
Plutus Related to Plutus Scripts (Alonzo).

Summary
Building babbage-era transaction with Plutus script in Babbage era fails with

Command failed: transaction build  Error: The script language PlutusScriptLanguage PlutusScriptV1 is not supported in the Babbage era.

Building alonzo-era transaction with Plutus script in Babbage era fails ... - replaced by #3897

System info (please complete the following information):

  • OS Name: Fedora 35
  • Node version: vasil-testnet-v1

Additional context
According to @ch1bo it is fixed by #3882

@mkoura mkoura added bug Something isn't working Vasil_blocker labels May 23, 2022
@ch1bo
Copy link
Contributor

ch1bo commented May 23, 2022

The The script language PlutusScriptLanguage PlutusScriptV1 is not supported in the Babbage era. is likely happening because PlutusScriptV1 was not listed in scriptLanguageSupportedInEra over here. At least that part should be fixed by PR #3882.

Not sure about the second part about Decentralization value required in Alonzo era

@mkoura
Copy link
Contributor Author

mkoura commented May 23, 2022

Similar error for SimpleScriptV1:

Command failed: transaction build-raw  Error: The script language SimpleScriptLanguage SimpleScriptV1 is not supported in the Babbage era

@ch1bo
Copy link
Contributor

ch1bo commented May 23, 2022

Similar error for SimpleScriptV1

@mkoura And likely also SimpleScriptV2 ;)

@mkoura
Copy link
Contributor Author

mkoura commented May 23, 2022

@ch1bo Exactly :-)

Command failed: transaction build-raw  Error: The script language SimpleScriptLanguage SimpleScriptV2 is not supported in the Babbage era.

@dorin100 dorin100 added the Vasil label May 24, 2022
@Jimbo4350
Copy link
Contributor

This should be resolved by #3882

@dorin100
Copy link

the same error is shown also when minting multi assets without Plutus scripts:

mkdir -p policy
cardano-cli address key-gen \
    --verification-key-file policy/policy.vkey \
    --signing-key-file policy/policy.skey

KEYHASH=$(cardano-cli address key-hash --payment-verification-key-file policy/policy.vkey)

SCRIPT=policy/policy.script
rm -f $SCRIPT
echo "{" >> $SCRIPT
echo "  \"keyHash\": \"${KEYHASH}\"," >> $SCRIPT
echo "  \"type\": \"sig\"" >> $SCRIPT
echo "}" >> $SCRIPT

cardano-cli transaction policyid --script-file policy/policy.script > policy/policyID
policyid=$(cat policy/policyID)
tokenname=$(echo -n "test_token_babbage" | xxd -b -ps -c 80 | tr -d '\n')

cardano-cli transaction build \
    --babbage-era \
    --testnet-magic $MAGIC \
    --tx-in 4749dd0dfffb4eb6594b5cb1e0a7bbcdc741fed79a1a80fa70d49f191d02e8de#0 \
    --change-address $(cat addr/addr1.addr) \
    --tx-out "$(cat addr/addr1.addr)+100000000+500 $policyid.$tokenname" \
    --mint="500 $policyid.$tokenname" \
    --minting-script-file $SCRIPT \
    --witness-override 2 \
    --out-file tx1_ma.txbody 

Command failed: transaction build  Error: The script language SimpleScriptLanguage SimpleScriptV1 is not supported in the Babbage era.

@Jimbo4350
Copy link
Contributor

Closed with permission of @mkoura

@dorin100 dorin100 added type: blocker Major issue, the tagged version cannot be released severity: critical A core function of the system isn’t responsive or is returning invalid data. priority: critical Requires immediate attention. Critical issue that needs to be fixed ASAP and released as hotfix. era: babbage user type: internal Created by an IOG employee comp: cardano-cli labels Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp: cardano-cli era: babbage priority: critical Requires immediate attention. Critical issue that needs to be fixed ASAP and released as hotfix. severity: critical A core function of the system isn’t responsive or is returning invalid data. type: blocker Major issue, the tagged version cannot be released user type: internal Created by an IOG employee Vasil_blocker Vasil
Projects
None yet
Development

No branches or pull requests

4 participants