Bug: I don't see an error when I have the chain disabled on frame
saltyfacu opened this issue ยท 2 comments
saltyfacu commented
What happened ๐
I try to connect to base, but base is disabled on Frame. I see no error. There should be an error indicating the condition
To Reproduce ๐
- install frame.sh
- keep base disabled
- press connect wallet while on base on the dapp
- nothing happens
More ๐
- Browser : Arc, Chrome
Majorfi commented
FYI: Probably something to update in the Weblib
Majorfi commented
After some investigation, it looks like we are getting no event from frame, preventing us to solve this:
-> A log may pop, but is injected from browser ext, but we are never getting it in out app
-> If your selected chain on Frame is X (either because you just disabled it or because a FE asked the switch) but you disabled X, the connection with the RPC will fail, and Frame will silently fail