IntersectMBO / cardano-ledger

The ledger implementation and specifications of the Cardano blockchain.
Apache License 2.0
250 stars 157 forks source link

CostModel json parsing #4430

Closed lehins closed 2 weeks ago

lehins commented 2 weeks ago

Description

This PR replaces #4413 except error will be:

Error: Error decoding JSON cost model at "test/cardano-cli-golden/files/input/governance/costmodels.json": 
Error in $: Cost model language: PlutusV2
            ┃     │   Parameter name missing from cost model: "integerToByteString-cpu-arguments-c1"
            ┃     │   Parameter name missing from cost model: "integerToByteString-cpu-arguments-c0"

As always there are a few other minor improvements.

Checklist