August 2018
Intermediate to advanced
404 pages
11h 19m
English
Overflow or underflow occurs when the value assigned to a variable exceeds the limit allowed for that data type. This is very common for the integer data type in solidity and has to be carefully verified during an assignment.
This recipe explains the situations in which integer overflow/underflow can occur and the ways to avoid them.