DoS with block gas limit

The Ethereum blockchain transaction can only process a certain amount of gas due to the block gas limit, so be careful to look without fixed limited integration. When a number of iteration costs go beyond the gas limit, the transaction will fail and the contract can be stalled at a certain point. In this case, attackers may potentially attack the contract, and manipulate the gas.