I noticed that the constructor in the contract is not marked as payable. Marking the constructor as payable reduces gas costs, as the compiler avoids extra checks to ensure no funds were passed during deployment. This can be safely applied since only the deployer can send funds, and the project itself won't pass any.
The constructor does not need to prevent receiving ETH during deployment. Marking it as payable optimizes gas usage by avoiding unnecessary checks.
Gas optimization—by marking the constructor as payable, deployment becomes more efficient in terms of gas usage.
Manual Analysis
Mark the constructor as payable to reduce gas costs:
/liquid-staking/2024-09-stakelink/contracts/core/lstRewardsSplitter/LSTRewardsSplitter.sol
Line: 50
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.