abi.encodePacked() consumes less gas than abi.encode().
Changing abi.encode() function to abi.encodePacked() can save gas since the abi.encode() function pads extra null bytes at the end of the call data. getPoolId() is a pure function but is called internally so it consumes gas when called from other functions inside of the contract.
Manual Analysis
Use abi.encodePacked() instead of abi.encode() to save on gas.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.