-
Notifications
You must be signed in to change notification settings - Fork 126
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
Script missing first 6 characters after put in the tx #617
Comments
Hi @leobel ! Your plutus script is encoded as cbor bytes 2 times:
|
Hi @leobel ! Do you still have the issue ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I don't know if this is normal but have noticed the script in the final tx is missing the first 6 characters from the original.
The script is parameterized and was generated using
Lucid
. Since this is Plutus V2Lucid
double CBOR encode it:Here is my hex script:
I load it like this:
and finally put into the witness set:
the final tx:
You can noticed the script in the tx is missing this prefix
591645
.Not sure if related but the tx fails because it cannot create the script context for the script.
The error:
The error mention this
Caused by: (unConstrData #44000de140)
which is quite similar to the first parameter in the scriptlabel222 = 000de140
, not sure if related somehow.The text was updated successfully, but these errors were encountered: