gemworks / gem-farm

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

Receiving error 0x1770 when flash depositing #99

Open dylie-eth opened 2 years ago

dylie-eth commented 2 years ago

A large number of my users are experiencing a relatively similar issue, Transaction simulation failed: Error processing Instruction 1: custom program error: 0x1770

I understand the error is associated with some type of arithmetic error, but have no idea how to work towards resolving this. To my understanding, this issue subsides if those who receive this error try staking the same NFT in a different wallet but the issue reappears when trying to stake from the original wallet.

Does anyone know a fix to this solution or at least a reason why it may be happening?

ghost commented 2 years ago

After I added rarity, this same error happened, my skating website stopped working, people started complaining.

Can this be fixed?

Has somebody successfully using gemfarm on a mainnet for really staking? why it has so many problems to me.

dylie-eth commented 2 years ago

This has been a massive problem for a large amt of people on my platform :/ really not sure how to fix them in bulk now and I'm very distraught

It is undoubtedly related to rarity changes because this has only been a problem since I implemented the option to upgrade rarities.

KartikSoneji commented 2 years ago

Related: #53