Skip to content
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

create-script-context - Custom redeemer no longer works for PlutusScriptV1 #1107

Open
mkoura opened this issue Sep 11, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@mkoura
Copy link

mkoura commented Sep 11, 2023

Summary

The create-script-context tool no longer works with custom redeemer for PlutusScriptV1.

Steps to reproduce the behavior

  1. Run
create-script-context --generate-tx test_context_equivalence_tx.body --plutus-v1 --cardano-mode --testnet-magic 42 --out-file test_context_equivalence_context.redeemer

Actual Result

create-script-context: createAnyCustomRedeemer: PlutusScriptV1 custom redeemer not wired up yet
           CallStack (from HasCallStack):
             error, called at src/PlutusExample/ScriptContextChecker.hs:156:23 in plutus-example-1.2.0.0-7x7z4MX6XPr1x58Jz40FvO:PlutusExample.ScriptContextChecker

Expected Result

No errors and the redeemer is generated.

Describe the approach you would take to fix this

No response

System info

OS: Ferdora 37
Plutus apps: d37997b

@mkoura mkoura added the bug Something isn't working label Sep 11, 2023
mkoura added a commit to IntersectMBO/cardano-node-tests that referenced this issue Sep 11, 2023
@catch-21
Copy link
Contributor

Looks like this has been the case for over a year now. @mkoura how important is this working for your tests?

@mkoura
Copy link
Author

mkoura commented Sep 11, 2023

It was masked by other issues that were solved recently (like #1081). The script context E2E tests are broken for a very long time and I'd like to get the create-script-context usable again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants