I’m struggling with this level. I’m not able to pass gateTwo because I don’t know when the compiler will evaluate gasleft().mod(8191) (see below). When does the compiler will evaluate it ? I assumed that the compiler will first read the code then look in Safemath what mod() do and then evaluate it, but apparently it’s not the case.
You can find the code I used here (https://github.com/Caladay/Caladay.github.io/blob/master/Gatekeeper%20I)