Open thewilder opened 2 years ago
Note to self: due to our walletManager.js
using ethers.providers.Web3Provider()
at one point, ethers' calls to the different RPC providers is always done using the default connection data (including the api keys) which means we're running into massive rate limit issues.
Fix: refactor codebase to get rid of Web3Provider
types.
Aside from the archaic implementation, when using Metamask or other wallets that provide their own RPC it is worth pointing out that using the default mainnet.optimism.io
url to connect might get rate limited as explained here https://changelog.optimism.io/2022/03/15/mainnet-system-addresses.html
Users can circumvent this issue by using an alternative RPC url (i.e. public nodes like rpc.ankr.com/optimism or paid nodes).
revert changes as they broke certain contract calls without bigger refactoring
walletManager.js
(and other files, where applicable) to enable usage of our paid-for Infura API instead of defaulting to the user's RPC
Contact Details
peter.szilagyi01@gmail.com
What happened?
OP vault won't show up, only shows "Fetching Data". Win 11, Chrome browser.
Steps to reproduce
Expected behavior
Vaults to show up.
What browser were you using?
Chrome
If you selected "Other" above, fill in the browser you used here.
No response