Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 575 Bytes

assert(), require() state change.md

File metadata and controls

19 lines (18 loc) · 575 Bytes

Invariants in assert() and require() statements should not modify the state per best practices. (see here)


Slide Screenshot

051.jpg


Slide Text

  • Use of assert()
  • Assert Invariants
  • No State Change
  • Not Validate Inputs
  • No assert() Failure
  • Normal Contract Function

References


Tags