the isDelibraUser function in User.sol loops over an unbounded array to check for registered users.
The problem here is this array is unbounded, hence the gas consumed due to the computation of the loop for a really large array might exceed the blockGasLimit, and immediately potential drawback of this approach is that the cost of setUserInfo increases proportionally to this array.
More detailed description of the problem HERE
the
isDelibraUserfunction inUser.solloops over an unbounded array to check for registered users.The problem here is this array is unbounded, hence the gas consumed due to the computation of the loop for a really large array might exceed the
blockGasLimit, and immediately potential drawback of this approach is that the cost ofsetUserInfoincreases proportionally to this array.More detailed description of the problem HERE