Closed
Description
Describe the bug
pycardano/pycardano/txbuilder.py
Line 1212 in 830090a
During a deepcopy
in the line above I get
TypeError: cannot pickle '_cbor2.CBORTag' object
This is because in my tx_builder
one UTxO's datum is 'RawPlutusData(data=CBORTag(121, [1000]))'
To Reproduce
git clone https://github.com/OpShin/opshin-pioneer-program.git
git checkout 81e0400
poetry install
poetry run python src/week06/tests/test_negative_r_timed.py
Logs
https://github.com/OpShin/opshin-pioneer-program/actions/runs/4780231723/jobs/8497846594
Expected behavior
Shouldn't pickle should work on CBORTag
? It doesn't look like a very complex data type.
Environment and software version (please complete the following information):
- OS: Windows/Linux
- PyCardano Version: latest
Additional context
Part of OpShin/opshin-pioneer-program#43