Home / Vulnerability Database / Solidity : Extra gas consumption
Solidity

Solidity : Extra gas consumption

Overview

State variable, .balance, or .length of non-memory array is used in the condition of for or while loop. In this case, every iteration of loop consumes extra gas.

LOW

DerScanner Severity Score

Do you want to fix Solidity : Extra gas consumption in your application?

See also

Solidity

Solidity : Return value of transfer, transferFrom, or approve function of ERC-20 standard is always false.

Solidity

Solidity : Using approve function of the ERC-20 token standard

Solidity

Solidity : ERC-20 transfer should throw