I recently started getting this error:
index.js:2 Error: Call was rejected:
Request ID: 2d36e3ff2aac0cb1cedc70eb318ed103e8ccf9db2d168f570ac371aaf8679e8b
Reject code: 4
Reject text: IC0503: Canister ypg3d-6qaaa-aaaah-aasgq-cai trapped explicitly: arithmetic overflow
at uo (index.js:2)
at async r (index.js:2)
at async Object.Oa [as mutationFn] (index.js:2)
and I’m not quite sure what the problem can be or how to debug this. Do you guys have any idea what I can start looking into? Thanks in advance?
The bug can be reproduced by:
- Going to https://graci-aaaaa-aaaah-aaqjq-cai.raw.ic0.app/
- Connect stoic or Plug / choosing a username
- Clicking “Arena”, choosing the 3 free ICmojis
- Choose a random strategy and click “fight!”
The thing is, it works half the time, so I really don’t know what goes wrong. Any help is greatly appreciated!