Editorial question115.8K views2,798 votes0 answers1,702 following
AI-generatedLimits of accidental public access in Vyper state variables and external functions
Vyper creates an external read-only getter for any state variable declared public and treats functions as external by default. The internal modifier must be added explicitly to keep helper logic from being callable externally. The goal is to understand the documented capability limits around accidental exposure: when a public variable is used unintentionally