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
[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages.
New section is never added with the code changes. (See RELEASING.md)
[ ] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[ ] The version bounds in .cabal files for all affected packages are updated.
If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
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
CHANGELOG.md
for the affected packages. New section is never added with the code changes. (See RELEASING.md).cabal
andCHANGELOG.md
files according to the versioning process..cabal
files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)fourmolu
(usescripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
has been updated (usescripts/gen-hie.sh
)