Vulnerabilities/

`chainId` may be outdated if user changes chains as part of connection in @web3-react - @web3-react/eip1193

Severity:
Medium

Description

chainId may be outdated if the user changes chains as part of the connection flow. This means that the value of chainId returned by useWeb3React() may be incorrect. In an application, this means that any data derived from chainId could be incorrect.

Recommendation

Update the @web3-react/eip1193 package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@web3-react/eip1193
Anything's wrong? Let us know Last updated on November 11, 2023