llamaxyz / llama

Llama is an onchain governance and access control framework for smart contracts.
https://llama.xyz
MIT License
47 stars 5 forks source link

Code size checks #433

Closed 0xrajath closed 1 year ago

0xrajath commented 1 year ago

Should the functions that set/authorize guards, actions, strategies, logic contracts etc have a code size check to ensure they're contracts?

AustinGreen commented 1 year ago

Nah this was brought up in c4 and we decided against it. It gives you very little benefit as most contracts would not make good guards, strategies, logic contracts