Max Pilipenko from telegram group:
One thing I noticed is that in smart contract scope is uint256 and in semaphore-rs it uses BigUint which seems to be only 32bits.
Because of this mismatch I had erorrs because javascript implementation uses BigInt which could be really any size.
Max Pilipenko from telegram group: