Repository navigation
Add CIP-0168 Value builtin scripts - #34
Merged
Merged
Conversation
Unisay
marked this pull request as ready for review
November 9, 2026 15:31
Generate PlutusV3/V4 policies for PLC 1.1.0 and 1.2.0, including filter boundaries, complete Value comparisons and size profiles. Add spending validators that exercise keep/drop duality and asset counts on the state input and its continuing output. Refs IntersectMBO/plutus-private#2406
Unisay
force-pushed
the
yura/issue-2406-value-builtins
branch
from
November 9, 2026 19:13
f24c5c3 to
357b424
Compare
mkoura
approved these changes
Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate policies for
policies,keepPolicies,dropPoliciesandassetCountfor PlutusV3/V4 with PLC 1.1.0/1.2.0. The semantic cases check complete filter results, policy ordering, ADA, negative quantities and cancellation, and the 256/257 input-list boundary. Six profiles vary distinct asset counts across one policy and multiple policies.A spending validator checks the builtins on its own input and continuing output. Its two redeemer modes preserve either a chosen protocol policy or all native assets while allowing ADA to change. Both check keep/drop reconstruction and asset-count partitioning.
The companion cardano-node-tests #3824 runs these envelopes end to end. The tests need batch-7 support and the 256-entry filter limit from IntersectMBO/plutus#8013. The compiler uses CHaP Plutus 1.72; its released evaluator predates that limit.
Refs IntersectMBO/plutus-private#2406