Skip to content

[Bug]: Switching chain breaks when connected through Torus module #1446

@L03TJ3

Description

@L03TJ3

Current Behavior

When connected with a Torus wallet after initial connection and wanting to switch chains, after confirming the switch in wallet the app gets stuck on switching status (see screens)

Expected Behavior

Should be able to switch chains

Steps To Reproduce

  1. reproducible on https://reactdemo.blocknative.com/
  2. locally I ran setChain hook while connected with torus

What package is effected by this issue?

@web3-onboard/torus

Is this a build or a runtime issue?

Runtime

Package Version

2.12.1

Node Version

16

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

(local build)

(react-demo)

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions