code-423n4 / 2021-12-amun-findings

0 stars 0 forks source link

Add `contractOwner` to `canCall` in `CallFacet` #266

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

Czar102

Vulnerability details

Optimization

Adding contractOwner to canCall in CallFacet would make CallFacet::protectedCall() modifier make 1 storage read less every time a non-owner calls a function with this modifier.