We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can this lib create token-2022 ?
I can create token, but when I change the mint account owner to common.Token2022ProgramID, get error:
common.Token2022ProgramID
rpc.JsonRpcError{ Code:-32002, Message:"Transaction simulation failed: Error processing Instruction 1: instruction modified data of an account it does not own", Data:map[string]interface {}{"accounts":interface {}(nil), "err":map[string]interface {}{"InstructionError":[]interface {}{1, "ExternalAccountDataModified"}}, "innerInstructions":interface {}(nil), "logs":[]interface {}{ "Program 11111111111111111111111111111111 invoke [1]", "Program 11111111111111111111111111111111 success", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]", "Program log: Instruction: InitializeMint", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2919 of 399850 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: instruction modified data of an account it does not own" }, "replacementBlockhash":interface {}(nil), "returnData":interface {}(nil), "unitsConsumed":3069 } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can this lib create token-2022 ?
I can create token, but when I change the mint account owner to
common.Token2022ProgramID
, get error:The text was updated successfully, but these errors were encountered: