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

New Plutus V2 cost model parameters are mandatory for alonzo genesis spec in map format #801

Closed
carbolymer opened this issue Jun 24, 2024 · 0 comments · Fixed by #812
Closed

Comments

@carbolymer
Copy link
Contributor

carbolymer commented Jun 24, 2024

Description

New Plutus V2 cost model parameters are mandatory for alonzo genesis spec in map format. The issue does not occur for parameters in a list.

Steps to Reproduce

  1. Execute
babbage genesis create-testnet-data --spec-alonzo ./alonzo-genesis.spec.json --out-dir out

Using this alonzo genesis spec file:
alonzo-genesis.spec.json
This spec file contains only 175 PlutusV2 cost model parameters. After those changes:

Plutus V2 cost model has 185 parameters.

Expected result

The genesis gets created with old list of parameters.

Actual result

cardano-cli reports and error:

Command failed: genesis create-testnet-data  Error: Error while decoding Shelley genesis at: ./alonzo-genesis.spec.json Error: Error in $.costModels: Unrecognized cost model parameter name: "integerToByteString-cpu-arguments-c0"
@carbolymer carbolymer changed the title New Plutus V2 cost model parameters are mandatory for new scripts New Plutus V2 cost model parameters are mandatory for alonzo genesis spec in map format Jun 24, 2024
@carbolymer carbolymer self-assigned this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants