• Michael Amadi's avatar
    Proxy disable initializers check (#13317) · ea5d8305
    Michael Amadi authored
    * add script that checks that proxied (non predeploy) contracts call `_disableInitializers` in their constructor
    
    * add check that all initialize functions of proxied contracts (not predeploys) have the external and initializer modifiers
    
    * add to ctb justfile but not in `just check` yet
    
    * fixes
    
    * use semgrep instead
    
    * ...
    
    * fixes
    
    * fixes
    
    * fixes
    
    * fixes
    
    * fixes
    
    * fix comment on semgrep test
    
    * fix semgrep test
    
    * rename rule
    
    * rename rule
    
    * add exception
    ea5d8305
Name
Last commit
Last update
..
sol-rules.sol-safety-proper-initializer.t.sol Loading commit data...
sol-rules.sol-safety-use-disable-initializers.t.sol Loading commit data...
sol-rules.t.sol Loading commit data...