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
It's particularly nice for debugging, run comparisons, test writing etc, if the sql statements are ordered deterministically.
Maybe you can sort staleTokens before this for loop? Or probably even better, make getStaleTokens() return ordered results by adding an ORDER BY token_address to the underlying db query.
currently the "stale" tokens are maintained in an index so they're probably ordered by runtime, token_address. might as well make this explicit. if this later causes tokens at higher addresses to starve, we'll have to come up with something else.
Originally posted by @mitjat in #344 (comment)
The text was updated successfully, but these errors were encountered: