-
Notifications
You must be signed in to change notification settings - Fork 213
create-script-context fails with DeserialiseFailure
#448
Comments
Works for me on testnet. Had success with dummy redeemer or simple int, with both spending script and minting policy transactions. E.g. create-script-context --generate-tx signed-tx --testnet-magic 1097911063 --out-file tmp cat tmp
{"fields":[{"list":[{"fields":[{"fields":[{"fields":[{"bytes":"cf3fd78fe693b5a67d7194332445a349edd74bd36e26a561572fd3fa"}],"constructor":0},{"fields":[],"constructor":1}],"constructor":0},{"map":[{"k":{"bytes":""},"v":{"map":[{"k":{"bytes":""},"v":{"int":244932836}}]}}]},{"fields":[],"constructor":1}],"constructor":0},{"fields":[{"fields":[{"fields":[{"bytes":"f778997b5e0fcaec19b7580bc23d010d24de9eea16f0275b5e766046"}],"constructor":0},{"fields":[],"constructor":1}],"constructor":0},{"map":[{"k":{"bytes":""},"v":{"map":[{"k":{"bytes":""},"v":{"int":1500000}}]}}]},{"fields":[],"constructor":1}],"constructor":0}]},{"list":[{"fields":[{"fields":[{"fields":[{"bytes":"b204b4554a827178b48275629e5eac9bde4f5350badecfcd108d87446f00bf26"}],"constructor":0},{"int":0}],"constructor":0},{"fields":[{"fields":[{"fields":[{"bytes":"f778997b5e0fcaec19b7580bc23d010d24de9eea16f0275b5e766046"}],"constructor":0},{"fields":[],"constructor":1}],"constructor":0},{"map":[{"k":{"bytes":""},"v":{"map":[{"k":{"bytes":""},"v":{"int":243999514}}]}}]},{"fields":[],"constructor":1}],"constructor":0}],"constructor":0},{"fields":[{"fields":[{"fields":[{"bytes":"ffcb1a4c23538cbf3c1a2b4fe7fa795153d83ea8c16ec0b5b65497d492e17411"}],"constructor":0},{"int":0}],"constructor":0},{"fields":[{"fields":[{"fields":[{"bytes":"67f33146617a5e61936081db3b2117cbf59bd2123748f58ac9678656"}],"constructor":1},{"fields":[],"constructor":1}],"constructor":0},{"map":[{"k":{"bytes":""},"v":{"map":[{"k":{"bytes":""},"v":{"int":2610000}}]}}]},{"fields":[{"bytes":"9e1199a988ba72ffd6e9c269cadb3b53b5f360ff99f112d9b2ee30c4d74ad88b"}],"constructor":0}],"constructor":0}],"constructor":0}]},{"map":[{"k":{"bytes":""},"v":{"map":[{"k":{"bytes":""},"v":{"int":0}}]}}]},{"fields":[{"fields":[{"fields":[],"constructor":0},{"fields":[],"constructor":1}],"constructor":0},{"fields":[{"fields":[],"constructor":2},{"fields":[],"constructor":1}],"constructor":0}],"constructor":0},{"map":[{"k":{"bytes":""},"v":{"map":[{"k":{"bytes":""},"v":{"int":176678}}]}}]},{"list":[{"fields":[{"bytes":"9e1199a988ba72ffd6e9c269cadb3b53b5f360ff99f112d9b2ee30c4d74ad88b"},{"int":42}],"constructor":0}]},{"list":[]},{"list":[]},{"fields":[{"fields":[{"fields":[{"fields":[{"bytes":"ffcb1a4c23538cbf3c1a2b4fe7fa795153d83ea8c16ec0b5b65497d492e17411"}],"constructor":0},{"int":0}],"constructor":0}],"constructor":1}],"constructor":0}],"constructor":0} |
I'm using cardano-node master, IntersectMBO/cardano-node@65422ff I see the error from the issue description for both spending and minting scripts. Tx e.g.
Maybe you are using old enough version of cardano-node (cardano-cli) to create the Tx, @james-iohk? |
I am using IntersectMBO/cardano-node@73f9a74, which is a bit older. |
@mkoura does it work with |
It still doesn't work with node master or 1.35.0-rc4, which are the node versions that need to be tested.
|
Works for me with node 1.35.0 |
The command seems to work in Alonzo era, but not in Babbage. I just created another issue since this one is already closed - #583 |
Summary
create-script-context
fails withDeserialiseFailure
:Steps to reproduce the behavior
create-script-context
command, it fails withDeserialiseFailure
Actual Result
create-script-context
fails withDeserialiseFailure
Expected Result
The correct redeemer is derived from the dummy Tx.
Describe the approach you would take to fix this
No response
System info
OS: Fedora 35
Plutus apps:
fdb0eec477fc0f99f5edfdbc11c041dbd35ca6bb
The text was updated successfully, but these errors were encountered: