-
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
[TON] Support TON wallet V5R1 external signed message #3983
Conversation
Hi @10gic, thank you for the extensive work! I'll do a proper PR review later this week 👍 |
It's great to see this. I'm really looking forward to your comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @10gic, thanks again for the good quality PR! When I designed TonWallet
structure, I didn't expect V5 will be so different. Please consider the suggestions to make it easier to add new versions in the future
Thank you very much for your valuable comments. Except for this one (moving Proto::Transfer::wallet_version to Proto::SigningInput::wallet_version), which might involve a breaking change and hasn't been adjusted for now, I have accepted and made adjustments to all the others. |
Hi @Vero7979. Thank you for recognizing my work. May I ask if you are from the trustwallet team? |
@10gic could you please resolve merge conflicts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor change please
Sure, I have rebased my branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
The CI execution failed, and I am a bit curious why these issues didn't surface when I ran the script tools/build-and-test locally. |
@10gic, |
Thank you so much. I will change it accordingly. |
Regarding |
The failed Android/iOS/WASM test cases have been fixed, and tools/build-and-test was successful in my local environment. Could you help rerun the CI? |
I have no idea why the case TWAnySignerTheOpenNetwork.SingMessageToTransferAndDeployWalletV5R1 would fail. I can run this case successfully in my local environment. Could you please help to rerun the CI so that I can check the log and gather more information for debugging? |
All checks have passed. It seems there is no issue with the test case. |
I finally figured out why the test case TWAnySignerTheOpenNetwork.SingMessageToTransferAndDeployWalletV5R1 occasionally fails; see issue 4004. |
Description
Support TON wallet V5R1.
There are three opcodes: signed_external, signed_internal, and extension_action. Currently, only signed_external is supported. It is sufficient for transferring native tokens, jettons, etc.
How to test
Run Rust, C++, iOS, Android tests
Types of changes
TON Breaking change:
Checklist
If you're adding a new blockchain