Skip to content

Add CIP-0168 Value builtin scripts - #34

Merged
mkoura merged 1 commit into
masterfrom
yura/issue-2406-value-builtins
Nov 10, 2026
Merged

mkoura merged 1 commit into
masterfrom
yura/issue-2406-value-builtins

Conversation

@Unisay

@Unisay Unisay commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Generate policies for policies, keepPolicies, dropPolicies and assetCount for 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

@Unisay Unisay self-assigned this Nov 5, 2026
@Unisay Unisay changed the title [WIP] Add CIP-0168 Value builtin scripts Add CIP-0168 Value builtin scripts Nov 9, 2026
@Unisay
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
Unisay force-pushed the yura/issue-2406-value-builtins branch from f24c5c3 to 357b424 Compare November 9, 2026 19:13
@Unisay
Unisay requested review from SeungheonOh and mkoura November 10, 2026 14:10
@mkoura
mkoura merged commit 02724db into master Nov 10, 2026
@Unisay
Unisay deleted the yura/issue-2406-value-builtins branch November 10, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants