The _initModuleManager
is called in constructor during deployment and in initializeAccount
function of Nexus contract. This leads to revert as sentinel list tries to initialize itself twice.
_initModuleManager
is called in constructor.
initializeAccount
is called whenever new Nexus contract is created in factory.
_initModuleManager
initializes executors and validators linked list.
When we try to initialize again it will revert with LinkedList_AlreadyInitialized
.
Nexus contract deployment will fail.
Remove _initModuleManager
from constructor.
Invalid, if a `Nexus.sol` contract is already deployed, it does not need to be initialized again within the factory as seen [here](https://github.com/Cyfrin/2024-07-biconomy/blob/9590f25cd63f7ad2c54feb618036984774f3879d/contracts/factory/NexusAccountFactory.sol#L58-L60), so no issue here
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.