Add support for Plutus scripts on compatible Tx - #1282
Draft
carbolymer wants to merge 2 commits into
Draft
Conversation
carbolymer
force-pushed
the
mgalazyn/feature/compatible-plutus
branch
5 times, most recently
from
August 11, 2026 15:25
5011f2d to
c6e492e
Compare
Proposal redeemer pointers were computed against Ord-sorted order instead of the ledger's OSet insertion order, and certifying pointers did not count unwitnessed certificates' index slots. Both now follow the ledger's positional resolution, with regression tests pinning the behaviour and property tests checking every witnessable category's pointer against the ledger's own Indexable resolution. The same fix is applied to the deprecated legacy transaction builder (createTransactionBody); end-to-end and legacy-bridge regression properties now cover the deprecated path too. Also harden getVotes against voter-map gaps, remove the unused StakeCredential field from the Witnessable WitTxCert constructor, and correct the redeemer-index ordering documentation.
createCompatibleTx now takes a CompatibleTxBodyContent record with per-input AnyWitness values, and computes spending redeemer pointers, witness datums, the script integrity hash, collateral inputs, transaction metadata and the validity upper bound. Witness indexing is shared with the experimental transaction builder. Also export the mkSpendingScriptDatum smart constructor from Cardano.Api.Experimental.
carbolymer
force-pushed
the
mgalazyn/feature/compatible-plutus
branch
from
August 12, 2026 14:00
c6e492e to
7139bf6
Compare
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.
Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist
.changes/