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

Fix occasional ExUnitsTooBigUTxO failures in alonzo-test #4606

Open
neilmayhew opened this issue Sep 7, 2024 · 0 comments
Open

Fix occasional ExUnitsTooBigUTxO failures in alonzo-test #4606

neilmayhew opened this issue Sep 7, 2024 · 0 comments

Comments

@neilmayhew
Copy link
Contributor

Reproducible with:

$ cabal test cardano-ledger-alonzo-test --test-options='
  --pattern="/Ada is preserved/"
  --quickcheck-replay="(SMGen 17491612495563005545 16350810121916512025,83)"
'
...
Exception:
  LEDGER sigGen: UtxowFailure (ShelleyInAlonzoUtxowPredFailure (UtxoFailure (ExUnitsTooBigUTxO (WrapExUnits {unWrapExUnits = ExUnits' {exUnitsMem' = 537375, exUnitsSteps' = 1891529}}) (WrapExUnits {unWrapExUnits = ExUnits' {exUnitsMem' = 550000, exUnitsSteps' = 1099989}})))) :| []

It would be helpful to turn this into a discard, if that's possible. It may be possible to find some prior art for dry-running scripts in the Imp tests. Alternatively, we could turn all predicate failures into discards using try or onException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant