-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make a plan for Cardano Paribus
token throws SwiftProtobuf.BinaryDecodingError error 2
#3969
Comments
Hi @Balashov152, please make sure
|
Yes, I tried to do it in that way. Just like raw data. Same problem :( |
@Balashov152 please provide a full example. From what I see, I don't have an idea what's wrong.
|
Hello, there is an update regarding this issue. The problem involves Cardano tokens whose names are implemented according to CIP-0067. The hex representation of these names does not encode correctly into a UTF-8 string.
|
@siblockchaina @Balashov152 could you please provide the whole code from creating a let input = CardanoSigningInput.with {
// TODO
}
let serializedInput = input.serializedData().hexString |
This is a complete example of a reproduced crash
|
Hi @siblockchaina, thank you for the code snippet. I found the problem. Looks like |
@satoshiotomakan is there any news? |
Hi @Yoggam1, I planned the work at the next iteration (until October 9). We're fully loaded at the moment |
Hi! any updates? |
Hi @tureck1y, @Yoggam1, @siblockchaina, I'm sorry for the delay. I've done the fix at #4089, tomorrow will test it, and merge if there are no issues |
To Reproduce
Steps to reproduce the behavior:
Xcode 15.2 / iOS
Token: https://cardanoscan.io/token/cc8d1b026353022abbfcc2e1e71159f9e308d9c6e905ac1db24c7fb650617269627573
Try to build
CardanoSigingInput
and updateplan
viainput.plan = AnySigner.plan(input: input, coin: coinType)
I received the
SwiftProtobuf.BinaryDecodingError error 2
with this this descriptionI filled in this way:
Looks like the problem in the
assetNameHex
but I have no idea why ?With other tokens everything is good.
The text was updated successfully, but these errors were encountered: