Open FarinM opened 2 years ago
^ 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
^ 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.
^ 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?
Nope, waiting for the authors response
hey @FarinM
Does not seem to work (the tx doesn't hit solana). When trying without it hits
What do you mean?
hey @FarinM
Does not seem to work (the tx doesn't hit solana). When trying without it hits
What do you mean?
Basically the transaction doesn't make it to the network. It just fails and never reaches when using the module.
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 custom program error: 0xa7
?
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
custom program error: 0xa7
?
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
panic: (*jsonrpc.RPCError)(0x140003ad590)({
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 {}) <nil>,
(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=90) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2250 of 1400000 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=90) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2958 of 1385556 compute units",
(string) (len=59) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
(string) (len=92) "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 15775 of 1397750 compute units",
(string) (len=60) "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success",
(string) (len=62) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]",
(string) (len=32) "Program log: Instruction: MintTo",
(string) (len=90) "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 3022 of 1381975 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=90) "Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 5349 of 1378953 compute units",
(string) (len=86) "Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0xa7"
},
(string) (len=13) "unitsConsumed": (json.Number) (len=5) "21047"
}
})
goroutine 1 [running]:
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"
}
})