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
Unfortunately the way mmecp filters work, I can't filter on mint b/c it's after a variable byte-length string. So each program query looks up all accounts and then we filter for mint on front end. Fine now but won't scale if we get more users.
Note: if we start to get higher volume of users before we implement a fix, we may want to useLocalStorage for our account query and store the results rather than calling it each page (only really an issue if somebody is navigating around multiple mints)
Issue
Program struct for burn accounts is:
Unfortunately the way mmecp filters work, I can't filter on
mint
b/c it's after a variable byte-length string. So each program query looks up all accounts and then we filter for mint on front end. Fine now but won't scale if we get more users.Proposed Solution
Create a new struct, e.g..:
Create a migration function.
Note: if we start to get higher volume of users before we implement a fix, we may want to
useLocalStorage
for our account query and store the results rather than calling it each page (only really an issue if somebody is navigating around multiple mints)Resources:
The text was updated successfully, but these errors were encountered: