SDLPoolPrimary.migrate
is broken because delegatorPool
can never be set.
Users can't migrate to new contract because delegatorPool
address from which migration is done is always zero. Contract does not have function to explicitly set this address, insted it intended to be set in initialize
function.
For delegatorPool
pool to be set, it should not be zero, but initially it's zero. So else branch is never executed and pool is never set.
Migration to SDLPoolPrimary
is broken and can't be executed.
Manual review
Add function to explicitly set delegatorPool
or (i guess it's intended behavior) change if condition in initialize
function to ccipController == address(0)
.
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.