Skip to content

Release 1.56.0.1#7707

Merged
Unisay merged 4 commits intorelease/1.56.0.0from
release/1.56.0.1
Apr 8, 2026
Merged

Release 1.56.0.1#7707
Unisay merged 4 commits intorelease/1.56.0.0from
release/1.56.0.1

Conversation

@Unisay
Copy link
Copy Markdown
Contributor

@Unisay Unisay commented Apr 7, 2026

Summary

Patch release 1.56.0.1 — backports the caseInteger SoP fallback fix from #7693.

  • Fix: Replace runtime list-indexing via PlutusTx.List.!! with a compile-time equalsInteger/ifThenElse chain for the SumsOfProducts caseInteger fallback, fixing a 3-5x cost regression in unsafeFromBuiltinData for multi-constructor types.
  • Also fixes: A latent bug in compileHaskellList that silently dropped list elements when GHC used (:)-chain representation.

Budget improvements (Marlowe validators)

Metric Baseline (1.56.0.0) After fix Delta
CPU (avg) 578M / 579M 507M / 524M -9..12%
Memory (avg) 1.95M / 1.85M 1.56M / 1.54M -16..20%

Related

Unisay added 4 commits April 7, 2026 13:52
Add golden budget tests for unsafeFromBuiltinData compilation in both
SumsOfProducts and BuiltinCasing modes.  Covers single-constructor,
pair, mixed-arity, and three-constructor types with PIR, UPLC, and
evaluation golden files for GHC 9.6 and 9.12.
Replace runtime list-indexing via PlutusTx.List.!! with a compile-time
equalsInteger/ifThenElse chain for the SumsOfProducts caseInteger
fallback. This fixes a 3-5x cost regression in unsafeFromBuiltinData
for multi-constructor types (reported by Hydra team).

Also fixes a latent bug in compileHaskellList that silently dropped
list elements when GHC used (:)-chain representation instead of
build/foldr form.
Updated Marlowe golden TSV files to reflect improved budgets from the
caseInteger SoP fix. CPU: -9..12%, Memory: -16..20%.
@Unisay Unisay added the No Changelog Required Add this to skip the Changelog Check label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

Execution Budget Golden Diff

e75d9d7 (master) vs d27d75c

output

This comment will get updated when changes are made.

@Unisay Unisay requested review from SeungheonOh and zliu41 April 7, 2026 14:29
@Unisay Unisay self-assigned this Apr 7, 2026
@Unisay Unisay merged commit a92c184 into release/1.56.0.0 Apr 8, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Changelog Required Add this to skip the Changelog Check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants