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] - user-unfriendly error message when PlutusV2 cost model is not available #4050

Closed
Tracked by #4144 ...
mkoura opened this issue Jun 14, 2022 · 3 comments
Closed
Tracked by #4144 ...
Labels
bug Something isn't working comp: cardano-cli era: babbage in-scope This item is being worked and will be part of an upcoming release priority low Issues/RPs that are low priority issues/PRs in relation to a minimum Shelley testnet and Shelley mai priority: low Would eventually require attention if time allows it. type: bug Something is not working Vasil

Comments

@mkoura
Copy link
Contributor

mkoura commented Jun 14, 2022

Internal

Area
Plutus Related to Plutus Scripts (Alonzo).

Summary
When PlutusV2 cost model is not available (the situation after Babbage HF), the error message from transaction build command when trying to build a Tx with PlutusV2 script is

cardano-cli: (Array.!): undefined array element

The message could be more helpful, like the one reported by transaction submit:

Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (UtxosFailure (CollectErrors [NoCostModel PlutusV2]))))])

System info:

  • OS Name: Fedora 35
  • Node version: 07053e4
@mkoura mkoura added bug Something isn't working priority low Issues/RPs that are low priority issues/PRs in relation to a minimum Shelley testnet and Shelley mai Vasil labels Jun 14, 2022
@CarlosLopezDeLara CarlosLopezDeLara added the 1.35.1 Include in 1.35.1 label Jul 6, 2022
@CarlosLopezDeLara CarlosLopezDeLara added 1.35.2 and removed 1.35.1 Include in 1.35.1 labels Jul 8, 2022
@Jimbo4350
Copy link
Contributor

@mkoura can you confirm if this still is a problem? I believe it was fixed.

@mkoura
Copy link
Contributor Author

mkoura commented Jul 14, 2022

@Jimbo4350 It is fixed:

Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (UtxosFailure (CollectErrors [NoCostModel PlutusV2]))))])

@mkoura mkoura closed this as completed Jul 14, 2022
@CarlosLopezDeLara CarlosLopezDeLara added in-scope This item is being worked and will be part of an upcoming release and removed 1.35.2 labels Jul 22, 2022
@CarlosLopezDeLara
Copy link
Contributor

@dorin100 dorin100 added type: bug Something is not working priority: low Would eventually require attention if time allows it. era: babbage 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 in-scope This item is being worked and will be part of an upcoming release priority low Issues/RPs that are low priority issues/PRs in relation to a minimum Shelley testnet and Shelley mai priority: low Would eventually require attention if time allows it. type: bug Something is not working Vasil
Projects
None yet
Development

No branches or pull requests

4 participants