#deposit
#token. array
How about to take a look at the array?
No check for 0 token transfers. So Ttere is a possibility of creating many transactions with zero transfer, which would fill the s.accts[account].depositIdList[token] array. Eventually, it could get so big that it would waste the entire transaction's gas on overshooting.
by RareSkills
by Jeiwan
by RareSkills
by RareSkills
by Andreas M. Antonopoulos, Gavin Wood
by Micah Dameron
Compare execution layer differences between chains
Dive deep into the storage of any contract