The order of parameters in AaveDIVAWrapper
does not match the expected order in AaveDIVAWrapperCore
, leading to incorrect assignment of contract addresses and potential malfunction of the deployed contract.
The constructor in AaveDIVAWrapper
is structured as:
But the 'AaveDIVAWrapperCore` has its constructor structured as:
This leads to improper initialization of DIVA and Aave V3 Pool addresses in the core contract.
DIVA is initialized to Aave V3 Pool address and vice versa.
Misconfiguration of contract dependencies, leading to function calls failing due to incorrect addresses.
Unexpected behavior during contract execution, requiring redeployment to fix.
Manual Review
Foundry
In AaveDIVAWrapper
change the order of the variables passed to the constructor of AaveDIVAWrapperCore
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.