IntersectMBO / cardano-ledger

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

Remove the proposals workaround from UTXO conformance, add LEDGER conformance #4665

Closed Soupstraw closed 1 month ago

Soupstraw commented 1 month ago

Description

This PR removes a workaround in the UTXO conformance test. I modified the spec so that it doesn't add new deposits in the UTXO rule. I also moved the UTXO conformance logic into dedicated modules.

I had to disable some certificates, because the Generic generators aren't generating the deposits field correctly.

I also added conformance testing for the LEDGER rule. It seems to be succeeding in most cases, but sometimes the generators generates values that make the test fail.

closes #4672

Checklist