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
fix(amt): saturate the index at MAX_INDEX+1 (#2083)
When we hit the end of the AMT we'll update the "key" to where the next
tree should start. Unfortunately, if we've filled in the high-end of the
AMT, this key could overflow the max u64 by exactly one (i.e., it'll
wrap to 0). So, instead, we saturate to the MAX_INDEX (which is `u64-1`).
0 commit comments