Timeline for Anchor CPI Bubblegum Burn Error Cause Not Signer
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 30, 2023 at 0:55 | history | edited | john | CC BY-SA 4.0 |
added 509 characters in body
|
Apr 30, 2023 at 3:30 | comment | added | Alfian Dwi Nugraha | im getting this error when trying to laucn burn instruction "Error using concurrent merkle tree: Invalid root recomputed from proof". this error show when im burn compressed nft in merkle tree minted > 1. but when im create merkle tree, and mint only 1 compressed nft, im burn with your code its work. but when create merkle tree and mint > 1 compressed nft, error like above show to me. this is weird | |
Apr 27, 2023 at 22:00 | comment | added | john | hey! feel free to ask as many questions as you need (although probably best as a new question). currently not working on anything in particular other than trying to learn how compressed nfts work | |
Apr 27, 2023 at 5:42 | comment | added | Alfian Dwi Nugraha | @john are you working on any bubblegum related projects too? can I ask something? | |
Apr 26, 2023 at 18:51 | vote | accept | Alfian Dwi Nugraha | ||
Apr 25, 2023 at 23:56 | comment | added | Alfian Dwi Nugraha | Incidentally, in my case, the leaf owner is also a payer. I'm also not sure why cpi uses the anchor api to get the error, while cpi uses the native solana api program as above instead it works. even though all the account parameters are the same and I changed nothing, when the cpi used the cpi api from the solana program (invoke) it worked like the code above. | |
Apr 23, 2023 at 23:05 | comment | added | Ademola |
Good to see. Are you sure though that the solution is not simply down to the fact that you're now using payer.publicKey as your leafOwner and leafDelegate?
|
|
Apr 23, 2023 at 20:32 | history | edited | john | CC BY-SA 4.0 |
deleted 4 characters in body
|
Apr 23, 2023 at 12:13 | comment | added | Alfian Dwi Nugraha | you're right, I was thinking about calling the same function as bubblegum, but since calling spl compression requires a signer from bubblegum this doesn't solve the problem either. calling cpi manually without using the cpi anchor api seems to work for me too. thanks John for this info. don't you want to make an issue in the metaplex repo about this? | |
Apr 23, 2023 at 8:07 | comment | added | john |
Still not entirely sure what's causing the error. You can use anchor (the example in the response is using anchor), but you'll need to construct the cpi manually. Its that making the CPI using mpl_bubblegum doesn't seem to work, but that could just be because it's not set up right.
|
|
Apr 23, 2023 at 7:13 | comment | added | Alfian Dwi Nugraha | So from the research you've done, this is most likely an anchor problem? because when you try to do cpi manually without api anchor it works normally? | |
Apr 22, 2023 at 9:58 | history | edited | john | CC BY-SA 4.0 |
added 2648 characters in body
|
Apr 22, 2023 at 9:28 | history | answered | john | CC BY-SA 4.0 |