-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transaction build
no longer checks datum for PlutusV1 and PlutusV2 spending scripts
#859
Comments
The error ultimately comes from |
Response from @lehins on Slack:
Therefore I'm moving it back to cardano-cli. |
@mkoura As we've discussed in the meeting: it seems like a desired feature in the cardano-api and the easiest way to bring it back IMHO will be by using ledger functionality, so I'll try and see what can we do in order to bring it back |
@mkoura Yes, it was intentional to relax the check for v1 anbd v2 . Making datum optional on We are thinking on restructuring so that we have something like:
But this is still on the drawing board. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
Description
With integration of CIP-69, the datum is optional for PlutusV3 spending scripts. However datum is still required for PlutusV1 and PlutusV2 spending scripts.
The
transaction build
command used to check datum, and failed to build a tx when datum was missing on the txin ("txin does not have a script datum") or when the provided datum was wrong ("The Plutus script witness has the wrong datum (according to the UTxO).").Now the
transaction build
doesn't check the datum provided for PlutusV1 and PlutusV2 scripts.Submitting the tx still fails as expected.
Steps to Reproduce
transaction build
builds the transaction without reporting an error.Additional Context
The text was updated successfully, but these errors were encountered: