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

Weird revert #17

Open
cryptickoan opened this issue Jan 25, 2022 · 1 comment
Open

Weird revert #17

cryptickoan opened this issue Jan 25, 2022 · 1 comment

Comments

@cryptickoan
Copy link
Member

Error: call revert exception (method="pools(uint256)", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)

@cryptickoan
Copy link
Member Author

cryptickoan commented Jan 25, 2022

Happens if the user's provider is an arbitrum node when landing because on first render fuse is initiated by default with mainnet addresses, and the user's injected wallet provider. So Home's OpportunityCards call contracts with mainnet addresses in an arbitrum provider.

Its temporary because theres a useEffect that will refresh the page and re-initiate fuse with arbitrum addresses if a user's provider is an arbitrum node. The error comes from that short first render. Doesnt affect functionality at all.

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

No branches or pull requests

1 participant