Assessment reports>Polyhedra DVN>Discussion>Missing AlreadySet check

Missing AlreadySet check

There is no security impact of this, but note that setReceiveView is inconsistent in that it does not check whether the new value is equal to the old value like other setters in the contract. Consider adding the following:

if (receiveLibToView[receiveLib_] == receiveLibView_) revert AlreadySet();
Zellic © 2025Back to top ↑