SaitoTech / saito-lite-rust

a version of the Saito-Lite client written for compatibility with the Saito Rust client and binary data format
24 stars 27 forks source link

Check SAITO native transfers with games. #2119

Open arpee opened 11 months ago

arpee commented 11 months ago

Please enable staking native SAITO in 2 and 3 player games and check that payouts are correct.

Combine this with testing total money supply being static.

umairkhannn commented 10 months ago

Tested native SAITO stake games.

END OF ROUND Played 2P poker game on native SAITO tokens.

Conclusion: End of round transfers taking place but facing one issue with the transfer modal.

Issue: Receiving/Transfer modal not closing even after bet has been settled and SAITO has been transferred.

This modal not closing even after transfer has been settled: Image

umairkhannn commented 10 months ago

END OF GAME Tested 2P chess game on native SAITO stake

Conclusion/Issue: Transfer not taking place at end of game nor transfer modal is being opened.

Game ended but not transfer modal:

Image

umairkhannn commented 10 months ago

MONEY SUPPLY Money supply was being consistent during the in-game transfers:

Image

umairkhannn commented 10 months ago

Update: Working on tracking the issue inside wallet.ts after discussion with david, logging the flow from receivePayment() and going deep till i find whats causing the issue.