vyperlang / titanoboa

a vyper interpreter
https://titanoboa.readthedocs.io
Other
242 stars 41 forks source link

feat: expose private constants #196

Closed AlbertoCentonze closed 2 months ago

AlbertoCentonze commented 3 months ago

As per title, would be nice to access private constant variables with _constant in the same way it is already possible for _immutable and _storage private variables.

BONUS: would be great if we could also access them from VyperDeployer since they are available before deployment.

DanielSchiavini commented 2 months ago

Just to clarify: We are exposing the private constants in the deployer level as they can be used directly at compile time for inspection, testing, etc

charles-cooper commented 2 months ago

done in #215