Submitted by yjrwkk, also found by chaduke, rbserver, 0xdeadbeef0x, Tointer, Englave, Avci, Deivitto, 0xDecorativePineapple, ak1, Critical, unforgiven, Dinesh11G, izhelyazkov, rvierdiiev, 0x4non, and pwnforce
https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trading.sol#L650 
https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/Trading.sol#L675
In Trading.sol a deposit or withdrawal of tokens with decimals higher than 18 will always revert.
This is the case e.g. for NEAR which is divisible into 10e24 yocto
Change 00.Mocks.js#L33 to:
Then in 07.Trading.js:
are going to fail with:
VS Code
Update calculations in the contract to account for tokens with decimals higher than 18.
TriHaz (Tigris Trade) acknowledged and commented:
Alex the Entreprenerd (judge) commented:
