Skip to content
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

fix: optimal RPC now removes faulty elements properly #212

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

gentlementlegen
Copy link
Member

Resolves #205

It worked during the tests because the faulty network was https://gnosis.api.onfinality.io/public. It so happens that there is a similar network at https://gnosis.api.onfinality.io/public_100. I didn't see that the ID of the network would be removed from the key in such case, leading to a delete of a key that actually didn't exist during the loop. This has been fixed by storing the untrimmed key in another variable to actually remember the real key value.

@gentlementlegen gentlementlegen requested a review from 0x4007 as a code owner March 26, 2024 12:54
@ubiquity-os-deployer
Copy link

ubiquity-os-deployer bot commented Mar 26, 2024

@0x4007 0x4007 merged commit 349a419 into ubiquity:development Mar 26, 2024
3 checks passed
@gentlementlegen gentlementlegen deleted the fix/failed-network branch March 26, 2024 16:59
@0x4007
Copy link
Member

0x4007 commented Mar 28, 2024

I noticed that the app requires a wallet connected to show anything now. This is undesirable behavior. I wonder if these changes somehow affected this.

I wrapped the image below in an anchor so you can see for yourself.

Perhaps it's an issue with when the permit is parsed.

image

@gentlementlegen
Copy link
Member Author

@pavlovcik Not sure if this is related but eventually could be, I guess it is not possible to see the logs via mobile. But if you didn't get any toast with an error it should not come from here as the only case where it remains at loading state is when no RPC is found at all (with an error toast). I will test on my phone then. Can you redeem or just see the details of the reward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Claims Broken
2 participants