gemworks / gem-farm

Configurable staking for NFT Projects on Solana
https://gemfarm.gg/
MIT License
338 stars 251 forks source link

Program log: Error: Account is frozen #132

Open hercules-sensei opened 1 year ago

hercules-sensei commented 1 year ago

We've updated our NFTs to Programmable NFTs. Since then, we updated our SDKs for our Gemfarm. Our NFTs are able to be unstaked, but they are now stuck in our gembank. Anyone have suggestions for this issue?

Transaction simulation failed: Error processing Instruction 0: custom program error: 0x11 Program bankHHdqMuaaST4qQk6mkzxGeKPHWmqdgor6Gs8r88m invoke [1] Program log: Instruction: WithdrawGem Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2] Program log: Instruction: Transfer Program log: Error: Account is frozen Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4294 of 169386 compute units Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0x11 Program bankHHdqMuaaST4qQk6mkzxGeKPHWmqdgor6Gs8r88m consumed 34908 of 200000 compute units Program bankHHdqMuaaST4qQk6mkzxGeKPHWmqdgor6Gs8r88m failed: custom program error: 0x11

Exxempt commented 1 year ago

@hercules-sensei All you need to do now is update (lib\gem-farm\common\gem-bank\index.ts) with:

https://github.com/gemworks/gem-farm/blob/main/app/gem-farm/src/common/gem-bank/index.ts

However you will be stuck with me at Signature verification failed. More to follow...

hercules-sensei commented 1 year ago

@hercules-sensei All you need to do now is update (lib\gem-farm\common\gem-bank\index.ts) with:

https://github.com/gemworks/gem-farm/blob/main/app/gem-farm/src/common/gem-bank/index.ts

However you will be stuck with me at Signature verification failed. More to follow...

Exactly what you said happened. But feel closer to the finish line, will update if we crack it.

tonyzheng11 commented 1 year ago

we are thinking about converting to pnfts also, we considered seeing if it was possible to force unstake all NFTs in the gemfarm before we converted