We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a9a70 commit a5b2245Copy full SHA for a5b2245
test/pycardano/test_plutus.py
@@ -20,6 +20,7 @@
20
plutus_script_hash,
21
id_map,
22
Datum,
23
+ Unit,
24
)
25
from pycardano.serialization import IndefiniteList, RawCBOR
26
@@ -207,11 +208,10 @@ def test_plutus_data_from_json_wrong_data_structure_type():
207
208
209
210
def test_plutus_data_hash():
211
+ print(Unit().to_cbor_hex())
212
assert (
- bytes.fromhex(
- "19d31e4f3aa9b03ad93b64c8dd2cc822d247c21e2c22762b7b08e6cadfeddb47"
213
- )
214
- == PlutusData().hash().payload
+ "923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec"
+ == Unit().hash().payload.hex()
215
216
217
0 commit comments