Skip to content

allow blueprint as input and output for the uplc executable#7685

Open
zliu41 wants to merge 1 commit intomasterfrom
zliu41/blueprint
Open

allow blueprint as input and output for the uplc executable#7685
zliu41 wants to merge 1 commit intomasterfrom
zliu41/blueprint

Conversation

@zliu41
Copy link
Member

@zliu41 zliu41 commented Mar 20, 2026

The blueprint format is different in that it may contain multiple validators, while all other input/output formats contain a single validator. So the blueprint format needs to be handled differently.

To make things simpler, it currently only allows the blueprint format in the "optimise" command, and if the input format is blueprint, the output format must also be blueprint.

To test it yourself, download the attached blueprint and run cabal run uplc -- optimise --certify whatever -i ./plutus.json -o ./plutus-optimised.json --if blueprint --of blueprint --certifier-report ./my-blueprint.report.

plutus.json

@zliu41 zliu41 requested review from a team and basetunnel March 20, 2026 21:41
@zliu41 zliu41 added the No Changelog Required Add this to skip the Changelog Check label Mar 20, 2026
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.

1 participant