Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 758 Bytes

File metadata and controls

16 lines (16 loc) · 758 Bytes

Local variables, state variables, functions, modifiers, or events with names that shadow (i.e. override) builtin Solidity symbols e.g. now or other declarations from the current scope are misleading and may lead to unexpected usages and behavior. (see here)


Slide Screenshot

039.jpg


Slide Text

  • Solidity Built-in Shadowing
  • Built-in: now, assert, etc.
  • Names: Variables/Functions/Modifiers
  • Override Behavior -> Dangerous/Unexpected

References


Tags