You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial value for feePlanTokens is an empty array initialized with 0 values. This leads to compute accumulated fees for tokenID = 0 even if the fee is not going to be recollected.
In order to NOT accumulate unnecessary fees, feePlanTokens could be initialized with a tokenID values that do not accumulate fees. tokenID = 2^32 - 1 could be used since this would be a tokenID not used in the rollup unless 2**32 - 1 tokens are added which is not currently feasible.
Initial value for
feePlanTokens
is an empty array initialized with 0 values. This leads to compute accumulated fees for tokenID = 0 even if the fee is not going to be recollected.In order to NOT accumulate unnecessary fees,
feePlanTokens
could be initialized with a tokenID values that do not accumulate fees.tokenID = 2^32 - 1
could be used since this would be a tokenID not used in the rollup unless 2**32 - 1 tokens are added which is not currently feasible.The text was updated successfully, but these errors were encountered: