You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
TransactionBuilder.build_and_sign does not seem to correctly build the witness set if the Certificates are constructed using ScriptHash rather than StakeKeyHash.
I am attempting to recreate the plutus pioneer program week 8 task in opshin/pycardano. If I'm not mistaken this task requires the stake registration and stake delegation certificates to be created with a ScriptHash.
I can't seem to find any methods to add certificates other than to set TransactionBuilder.certificates directly.
particularly I can't seem to find any methods or arguments equivalent to the --certificate-script-file option. My understanding is that a script witness needs to be created for the plutus script but I can't seem to find a clean way of adding the script or adding it to the witness set.
Environment and software version (please complete the following information):
OS: Ubuntu 20.04.3 LTS
PyCardano Version 0.11.1
The text was updated successfully, but these errors were encountered:
A corresponding function likely has to be added similar to the minting script file and withdrawal script file fields - simply because they were never used by anyone so far.
Describe the bug
TransactionBuilder.build_and_sign does not seem to correctly build the witness set if the Certificates are constructed using ScriptHash rather than StakeKeyHash.
I am attempting to recreate the plutus pioneer program week 8 task in opshin/pycardano. If I'm not mistaken this task requires the stake registration and stake delegation certificates to be created with a ScriptHash.
I can't seem to find any methods to add certificates other than to set TransactionBuilder.certificates directly.
I'm currently working like so:
The equivalent cardano-cli commands are:
particularly I can't seem to find any methods or arguments equivalent to the
--certificate-script-file
option. My understanding is that a script witness needs to be created for the plutus script but I can't seem to find a clean way of adding the script or adding it to the witness set.Environment and software version (please complete the following information):
The text was updated successfully, but these errors were encountered: