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

Alternative RPC for fetching events #678

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

muhammedea
Copy link

Celo public RPCs has problem when fetching all events. So I have added an infura url as an alternative rpc url. But the old forno url will be used too in case of infura failure. Also web3.js codes on farm pages refactored to ethers.js too.
With this fix, loading problems on governance, farm, limit order and pool pages should be fixed.

Copy link

vercel bot commented Jan 11, 2024

@muhammedea is attempting to deploy a commit to the Ubeswap Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jan 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ubeswap-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 11, 2024 10:49pm

Copy link

@BriungRi BriungRi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you specify what your test plan for this PR was?

@muhammedea
Copy link
Author

@BriungRi I tried to add a test for fetchEvents function but it seems that without mocking RPC's it is not that useful. For the pages like stake, farm ... there are no test currently and those pages doesn't work. So only testing strategy right now is just manual testing. Do you have something in your mind for testing?

@muhammedea muhammedea merged commit 0f95bc4 into Ubeswap:main Jan 18, 2024
5 checks passed
@BriungRi
Copy link

manual testing is fine. Just wanted to make sure that was the minimum we did

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.

None yet

2 participants