-
Notifications
You must be signed in to change notification settings - Fork 360
Feature: add a wrong chain error message #3105
Conversation
|
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Deployment links
|
|
E2E Tests Failed Failed tests:
|
| {isGranted ? ( | ||
| <>This transaction will most likely fail. {errorMessage}</> | ||
| ) : isWrongChain ? ( | ||
| <>Your wallet is connected to a wrong chain.</> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Your wallet is connected to the wrong chain."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks!
|
Looks good to me. I used an app called Mesa.eth Tried to switch back to the Correct network (rinkeby in this case) and tx worked as expected |

What it solves
Resolves #3102
How this PR fixes it
If networks mismatch, it says "Your wallet is connected to a wrong chain" in the error message.