vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.83k stars 789 forks source link

Disallow `optimize` and `evm-version` `pragma`'s in `.vyi` files #3978

Open pcaversaccio opened 3 months ago

pcaversaccio commented 3 months ago

I don't think it makes any sense to have the optimize and evm-version pragma's in .vyi files. It might even give wrong implications that such an interface can only be imported and implementsed using these specific pragma directives.