Function setOperator does not validate if the address set is already staked in OperatorStakingPool
The docs stated that Node operators are required to stake their LSTs into this contract.
This would break the intended functionality of the said protocol rules because there are no such check and making the OperatorStakingPool contract obsolete.
Manual review
add a check if the address is a part of operator using OperatorStakingPool.isOperator, we keep the logic not much changed so we change initializer function :
create interface for OperatorStakingPool in contracts/linkStaking/interfaces
import above interface and change OperatorVault:
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.