This would bubble all the way up the top and not be properly handled in a try/catch. I believe Mooniswap may also have the similar issue, but we check for balances of the pool.
Testing instructions
Types of changes
Checklist:
[ ] Prefix PR title with [WIP] if necessary.
[ ] Add tests to cover changes as needed.
[ ] Update documentation as needed.
[ ] Add new entries to the relevant CHANGELOG.jsons.
Description
Sometimes Kyber was throwing a Uint256BinOpError for large buy amounts on certain pairs.
This would bubble all the way up the top and not be properly handled in a try/catch. I believe Mooniswap may also have the similar issue, but we check for balances of the pool.
Testing instructions
Types of changes
Checklist:
[WIP]
if necessary.