enhancementhelp wanted
Repository metrics
- Stars
- (4,769 stars)
- PR merge metrics
- (平均マージ 54d 9h) (30d で 2 merged PRs)
説明
More and more people are reaching the code size limit, even with optimizers enabled. We can create a tool based on slither that will highlight some optimizations to reduce the code size.
Example:
- Replace modifiers with internal calls (we need to investigate the limit when this becomes efficient)
- Regroup duplicate code with internal functions
- Find if a parameter is always the same in all the internal calls
- How to split a contract into multiple ones (see https://github.com/crytic/slither/issues/471)
- ...
We can also create automatic patches for some rules (ex: modifier to internal calls)