-
Notifications
You must be signed in to change notification settings - Fork 30
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
Mint from CMv2 #14
Comments
^ Got that error sorted by rewriting some stuff, only issue atm is that nftcandymachinev2.NewMintNftInstructionBuilder() Does not seem to work (the tx doesn't hit solana). When trying without it hits |
Also hitting this error - any progress on this FarinM? |
I'm having issues with CM's that had a whitelist phase configured, can't seem to add remaining accounts to the transaction in the builder. |
Nope, waiting for the authors response |
hey @FarinM
What do you mean? |
Basically the transaction doesn't make it to the network. It just fails and never reaches when using the module. |
What's the error? Is it the |
There is no error, that was from earlier which I got sorted. The transaction just never reaches the solana network |
hey @gagliardetto! To provide some more insight the "nftcandymachinev2.NewMintNftInstructionBuilder()" doesn't properly create an instruction. Therefore dropping the tx and not having it reach the network. When trying to interact without it everything works fine, just the second you start using everything just drops and never reaches Thanks |
Any updates? @gagliardetto |
Hello, i. have this problem, please help me
|
Hey, after following the boilerplate code for minting from a candy machine, I get this error
panic: (*jsonrpc.RPCError)(0xc00029c210)({
Code: (int) -32002,
Message: (string) (len=89) "Transaction simulation failed: Error processing Instruction 4: custom program error: 0xa7",
Data: (map[string]interface {}) (len=4) {
(string) (len=8) "accounts": (interface {}) ,
(string) (len=3) "err": (map[string]interface {}) (len=1) {
(string) (len=16) "InstructionError": ([]interface {}) (len=2 cap=2) {
(json.Number) (len=1) "4",
(map[string]interface {}) (len=1) {
(string) (len=6) "Custom": (json.Number) (len=3) "167"
}
}
},
(string) (len=4) "logs": ([]interface {}) (len=25 cap=32) {
(string) (len=51) "Program 11111111111111111111111111111111 invoke [1]",
(string) (len=48) "Program 11111111111111111111111111111111 success",
(string) (len=62) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]",
(string) (len=41) "Program log: Instruction: InitializeMint2",
(string) (len=89) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2008 of 200000 compute units",
(string) (len=59) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
(string) (len=63) "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]",
(string) (len=19) "Program log: Create",
(string) (len=51) "Program 11111111111111111111111111111111 invoke [2]",
(string) (len=48) "Program 11111111111111111111111111111111 success",
(string) (len=52) "Program log: Initialize the associated token account",
(string) (len=62) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
(string) (len=44) "Program log: Instruction: InitializeAccount3",
(string) (len=89) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2629 of 184961 compute units",
(string) (len=59) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
(string) (len=91) "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 18291 of 200000 compute units",
(string) (len=60) "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success",
(string) (len=62) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]",
(string) (len=32) "Program log: Instruction: MintTo",
(string) (len=89) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2611 of 200000 compute units",
(string) (len=59) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
(string) (len=62) "Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]",
(string) (len=39) "Program log: Custom program error: 0xa7",
(string) (len=89) "Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 5346 of 200000 compute units",
(string) (len=86) "Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0xa7"
},
(string) (len=13) "unitsConsumed": (json.Number) (len=5) "22910"
}
})
The text was updated successfully, but these errors were encountered: