QA Report #63
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
initialize() can be frontrun
The
initialize()
function of the deployed contracts isn't called within the same transaction according to the deployment scripts. Thus, someone could frontrun the initialize call forcing you to redeploy.PrePOMarketFactory doesn't initialize ReentrancyGuardUpgradeable
The
PrePOMarketFactory.initialize()
function doesn't initializeReentrancyGuardUpgradeable
.https://github.com/code-423n4/2022-03-prepo/blob/main/contracts/core/PrePOMarketFactory.sol#L21
Add
__ReentrancyGuard_init_unchained();
The text was updated successfully, but these errors were encountered: