IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.08k stars 720 forks source link

Make Plutus v2 cost model decoding era dependent #5896

Closed carbolymer closed 4 months ago

carbolymer commented 5 months ago

Description

Upgrade cardano-cli-9.2.0.0 Upgrade cardano-api-9.1.0.0

This PR makes reading of Alonzo genesis optionally era-sensitive. The era-sensitive part is the reading of Plutus V2 cost model in alonzo genesis. This should only matter for test environments, as the cost model is not present in mainnet genesis. The exact decoding behaviour is described here: https://github.com/IntersectMBO/cardano-api/pull/564/files#diff-b26996666f911332a0d29d7ee13063967982ca356bb0a0fe26dcde29aacc48ebR238

Related PRs:

Integrates fix for: https://github.com/IntersectMBO/cardano-cli/issues/801

Workflow run against cardano-node-tests: https://github.com/IntersectMBO/cardano-node-tests/actions/runs/9956170300

Checklist