Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error deserialization signed transaction #677

Closed
dev-dantealighieri opened this issue Jul 14, 2024 · 2 comments
Closed

error deserialization signed transaction #677

dev-dantealighieri opened this issue Jul 14, 2024 · 2 comments

Comments

@dev-dantealighieri
Copy link

hi

I get the following error when I try to deserialize signed transaction using your library, i used rosetta to construct and sign the transaction, what might be the problem?

"Deserialization failed in Transaction.body.TransactionBody because: Invalid cbor: not the right type, expected `Map' byte received `Text'."

thanks, dante

example signed transaction that i want to deserialize:

827901c2383461343030383138323538323063393037366466396364346238353063653132633332643965326434303163323064323037633935346138643862376137343665663666383734333665383431303130313831383235383339303138666635653430366637323861316232316635363663613833366236363165386435636339373431376562626334656631613063613631393866663565343036663732386131623231663536366361383336623636316538643563633937343137656262633465663161306361363139316130303139363765323032316130303032383561313033316166666666666666666131303038313832353832306132663332633463346333623333393430653639393532383861656230623936366632666137356134353631373139313439363636626164356138343263623735383430316238346531346364396239616465373262386333373531326265376438613335343138393238316563343837363763303839396266303830323232396439356238343234333761323234363764353937623635633930613134333561663464393162313765626235646230623631383133363632386134613266653137306166356636a16a6f7065726174696f6e7380```
@lisicky
Copy link
Contributor

lisicky commented Jul 14, 2024

Seems your tx is wrapped by additional struct. You can observe it via https://cardananium.github.io/cquisitor/ . Unfortunately CSL doesn't know this format because it is not part of the CDDL . You can unwrap tx cbor by a third party tool/lib and then decode by CSL.

@lisicky
Copy link
Contributor

lisicky commented Aug 12, 2024

Close it since it's not CSL issue

@lisicky lisicky closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants