QA Report #375
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
valid
QA Report
Shortening revert strings to fit in 32 bytes will decrease deployment time gas and will decrease runtime gas when the revert condition is met. Revert strings that are longer than 32 bytes require at least one additional mstore, along with additional overhead for computing memory offset, etc.
An even better and gas efficient approach will be to use Solidity Custom Errors instead of revert strings.
HomeFi
In the current implementation, if the replaceAdmin function is called with an invalid address, the admin-ship will be transferred to this address and it can DoS the admin role. It will be better to make the new admin call a function before actually transferring the admin-ship, in order to validate that the new admin's address is valid and reachable.
_forwarder != address(0)
in the constructormintNFT
internal functionProject
checkSignature
,autoWithdraw
internal functions// Allocate funds to tasks and mark then as allocated
The text was updated successfully, but these errors were encountered: