Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 612 Bytes

DoS with block gas limit.md

File metadata and controls

17 lines (16 loc) · 612 Bytes

Programming patterns such as looping over arrays of unknown size may lead to DoS when the gas cost of execution exceeds the block gas limit. (see here)


Slide Screenshot

044.jpg


Slide Text

  • Block Gas Limit -> 15M Currently
  • Loop Index -> User Controlled
  • Expensive Operations -> Out-of-Gas Error
  • Evaluate Loops -> Prevent DoS

References


Tags