-
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
[Solana]: Support specifying fee payer for an encoded transaction #4156
[Solana]: Support specifying fee payer for an encoded transaction #4156
Conversation
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.
Looks good! Only one note - tw_solana_transaction_add_fee_payer
won't be available to be called from Kotlin, Swift, JS bindings unless we bridge it through include/TWSolanaTransaction.h
Do you have a chance to make a bridge similar to wallet-core/src/interface/TWSolanaTransaction.cpp Lines 29 to 41 in 99b69d1
|
Currently, I haven’t added a getter function for the fee payer. The fee payer is simply the first account in a Solana transaction, and we can easily retrieve it since we already support the Solana transaction decoder. |
Thanks for the reminder; I will add it later. |
No I mean we need to have a |
Hi @satoshiotomakan, I tried for a while but couldn’t run the kotlin/swift test cases locally. Could you please help trigger the CI test cases? |
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.
Thanks @10gic, let's run it
@10gic there is a mistake in an iOS test |
fa6ea48
to
88b60a3
Compare
I have tried to fix it. |
Description
Fix issue #4114
How to test
Run Rust, C++, iOS, Android tests
Types of changes
Checklist
If you're adding a new blockchain