Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 316 Bytes

File metadata and controls

8 lines (5 loc) · 316 Bytes

Bypass Contract Size Check

Description:

It is possible to create a contract with code size returned by extcodesize equal to 0. This can lead to bypass of 0-address check in a contract, which may lead to lost of fund or locking of funds.

References:

https://solidity-by-example.org/hacks/contract-size/