-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Area
Wrapper
Domain
gov.tools
Which wallet were you using?
No response
Context
Across preview, preprod, and mainnet on gov.tools, returning users sometimes cannot reconnect their wallet after previously being connected. Issue appears across wallets but is most prominent with Eternl. Behavior suggests a problem in the GovTool wallet connector (stale session/provider handle, race on init) or a missing initial delay/retry before attempting reconnection.
Notes / Hypotheses
- Likely stale provider/session reference after tab close; connector tries to reuse an invalid handle.
- Possible race condition between dApp connector initialization and UI connect action.
- Add initialization backoff / retry and ensure provider readiness checks before invoking
enable()/connect. - Consider clearing stale session flags when connection fails and surfacing an actionable error to the user.
Environment
- Sites: preview, preprod, mainnet
- Wallets: multiple; Eternl most commonly reported
- Workaround: Sometimes hard refresh helps; often does not.
Steps to reproduce
- Open gov.tools (any of preview / preprod / mainnet).
- Connect a wallet (Eternl most commonly affected).
- Use the app normally.
- Close the browser tab.
- Later, return to gov.tools.
- Attempt to reconnect (either auto-reconnect or click Connect and choose the same wallet).
Actual behavior
- The connect modal shows the selected wallet with a spinning loader that never completes.
- In some sessions a hard refresh resolves it; in others, it never connects again for that wallet until further manual intervention.
- User is effectively locked out from connecting with that wallet instance.
Expected behavior
- Previously connected wallets should auto-reconnect or connect reliably on user action.
- The connect flow should complete or fail with a clear error and a retry path, not stall indefinitely.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do
Status
No status