Timeline for Error while sending an Instruction in Android (Kotlin): Cross-program invocation with unauthorized signer or writable account
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2023 at 14:17 | vote | accept | Anam Ansari | ||
Jun 25, 2023 at 8:05 | answer | added | Jonas H. | timeline score: 0 | |
Jun 25, 2023 at 5:18 | comment | added | Anam Ansari | @JonasH. I compared the PDA's generated Android Side and Typescript Side, they are different, thatswhy it was failing. | |
Jun 23, 2023 at 10:53 | comment | added | Jonas H. | Could you run the transaction with skip-preflight checks and send one of the transaction signatures. My guess is maybe the question PDA is derived differently in client and program. | |
Jun 22, 2023 at 18:41 | comment | added | Anam Ansari |
@JonasH. Hey I added the instruction code in the question description. Also logged and checked the Accounts, they are correct. program_info also exists and is mutable
|
|
Jun 22, 2023 at 17:50 | history | edited | Anam Ansari | CC BY-SA 4.0 |
added 728 characters in body
|
Jun 22, 2023 at 12:41 | comment | added | Jonas H. | To be able to answer this I would need the actual instruction code to be able to tell which CPI fails. I would log the accounts from the TransactionInstruction and see if the signers and mutable flags are are actually set correctly. Also check if the program_info exists and can be mutable. | |
Jun 22, 2023 at 12:33 | history | edited | Anam Ansari | CC BY-SA 4.0 |
added 348 characters in body
|
S Jun 22, 2023 at 12:16 | review | First questions | |||
Jun 26, 2023 at 14:17 | |||||
S Jun 22, 2023 at 12:16 | history | asked | Anam Ansari | CC BY-SA 4.0 |