-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing shared addresses leads to very slow requirements check #16932
Comments
@jrainville dunno whats the plan for the communities, maybe we need to wait for the roadmap to figure out how important the issue is |
imho this is quite important; w/o this you won't be able to join any (token gated?) community |
okay i waited for around of 10 minutes and the check has been completed. Its not infinite but very slow |
Wow, that's a crazy long amount. It used to be slow, but max one minute. Was it freezing or it just took a long time for the checking to be done (spinner kept spinning)?
If this issue is reproducible easily, I think it's worth to fix it as it makes the joining of the community seem broken for people that want to edit their shared address |
there was a spinner all the time for the button |
I just tested on master with my main account (ran in dev) and it works fine for me. I do have the banner at the top and it doesn't show my tokens correctly, but it did show me the right permissions I'll have (TokenMaster). And it was relatively quick, less than a minute. I wonder if maybe your API keys were at the end of their limit and it had to retry over and over or something like that? @anastasiyaig if you try tomorrow during your morning, we could maybe confirm this hypothesis. |
@jrainville i was using the build from jenkins but sure, i will try more tomorrow. Maybe there is any of impact because i imported the keypair as my second one (not status one)? I have another thought. Then i imported one more account, which i mainly use with Status community and where i keep my funds to burn when testing transactions. I guess that could be the case , when status app has 2 accounts which are members of the same community? Maybe this is why the check is getting slower than usual? |
Maybe? It's for sure not a case we tested before. I'm not sure how it could influence from the top of my head though. Maybe @osmaczko has an idea since he worked on the permission checks. |
@jrainville i tested today again, recovered just one account (my main one) and tried to do the permission check. It took me 5 minutes 52 seconds Oo also, another thing that i noticed is that communities recovered (the list of communities on the left pane) are only recovered for Status keypair, so if i have additional keyparis imported, then communities wont show up besides the ones that belong to Status keypair Thats not related to the initial problem i am trying to debug but maybe we need to check on that separately too? |
Ok, so there is something that makes it much slower for you. Maybe something with location? We can ask someone else from Europe to see if it's that.
We don't sync using the "wallet accounts", but only the main multiaccount, ie the one used during onboarding. In theory, we probably could sync using the imported wallet accounts too since we'll have access to the public key and thus the right topics to fetch from, but I wonder if it's worth it (we would double the amount of requests). So in this case, I would suggest that we should find a way to convey to the user that only the main account does the syncing? |
I would like to clarify few things.
What do you mean by account? Wallet account or Status chat account? If the former, then what do you mean by saying: wallet account is member of a community? Did you mean wallet account satisfies the criteria of the community? If the latter, then how would that matter, as you can be logged in only one at a time?
What do you mean by Status keypair and additional keypairs? Do you mean, by Status keypair, a master keypair from which Status chat account and wallet accounts are derived?
I am very confused. We sync using Status chat account, sync is a chat feature. Why would we want to sync using the imported wallet accounts? What would we want to sync exactly in this scenario? |
@osmaczko i have no idea. All i am saying, i had 2 accounts in the app that both are members of the same community (different chat keys). I was just guessing what could lead to permission check being very slow on my end, as it takes almost 6 minutes |
But there is only one account logged at the time, right? And how can second account not be a Status account? |
one is status account(import seed from onboarding), other one is added from wallet via import seed |
So you referred to the wallet accounts, one default account generated by Status and another imported account. Saying that a wallet account is a member of a community is technically incorrect. It is not the wallet account that belongs to the community, but rather the chat account. These accounts are distinct and use different keys. To rephrase, the issue is that if you have more than one wallet account satisfying the criteria for the community, the permissions check takes longer? |
i checked today and having even my one account imported , the permission check is very slow. Its not the case for Jo, so its hard to replicate. |
The text was updated successfully, but these errors were encountered: