Shigoto-dev19 / ZK-Battleships-Solana

First decentralized & private Battleships game on Solana. Honorable Mention recognition in Solana Grizzlython Hackathon
https://solana.com/news/solana-grizzlython-winners?utm_source=Iterable&utm_medium=email&utm_campaign=campaign_6567415#:~:text=Pet%20Legends-,Zk%20Battleships,-Little%20Bonkers
25 stars 4 forks source link

Footgun try catch around proof verification #2

Closed ananas-block closed 1 year ago

ananas-block commented 1 year ago

https://github.com/Shigoto-dev19/ZK-Battleships-Solana/blob/39e42bc8ee11b75b3559b9ad005c97b33dc9baf3/src/gameSimulation.ts#L177

apart from very initial testing you will want this to crash your test or client

Shigoto-dev19 commented 1 year ago

should i remove try/catch block then ?

ananas-block commented 1 year ago

yes