Heya, I'm getting an error at the chain_context.submit_tx(signed_tx.to_cbor()) function, seemingly around deserialization. Maybe something with keys but I can't understand from the following log where to fix. Thanks for any help!
File "/Users/347h/a/cardano-python-js/python/mint.py", line 227, in <module>
chain_context.submit_tx(signed_tx.to_cbor())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pycardano/backend/blockfrost.py", line 161, in submit_tx
self.api.transaction_submit(f.name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/blockfrost/utils.py", line 63, in error_wrapper
raise ApiError(request_response)
blockfrost.utils.ApiError: {'error': 'Bad Request', 'message': '"transaction read error RawCborDecodeError [DecoderErrorDeserialiseFailure \\"Byron Tx\\" (DeserialiseFailure 1 \\"Size mismatch when decoding TxAux.\\\\nExpected 2, but found 4.\\"),DecoderErrorDeserialiseFailure \\"Shelley Tx\\" (DeserialiseFailure 1 \\"Size mismatch when decoding \\\\nRecord RecD.\\\\nExpected 4, but found 3.\\"),DecoderErrorDeserialiseFailure \\"Shelley Tx\\" (DeserialiseFailure 1 \\"Size mismatch when decoding \\\\nRecord RecD.\\\\nExpected 4, but found 3.\\"),DecoderErrorDeserialiseFailure \\"Shelley Tx\\" (DeserialiseFailure 1 \\"Size mismatch when decoding \\\\nRecord RecD.\\\\nExpected 4, but found 3.\\"),DecoderErrorDeserialiseFailure \\"Shelley Tx\\" (DeserialiseFailure 79 \\"expected string\\")]"', 'status_code': 400}
Here's the script i'm running, slightly modified for local testing and to take existing payment, stake, and signing keys,
Heya, I'm getting an error at the chain_context.submit_tx(signed_tx.to_cbor()) function, seemingly around deserialization. Maybe something with keys but I can't understand from the following log where to fix. Thanks for any help!
Here's the script i'm running, slightly modified for local testing and to take existing payment, stake, and signing keys,
The decoded CBOR