Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] incorrect console log when use WagmiWeb3ConfigProvider #1006

Open
LCJove opened this issue Jun 27, 2024 · 3 comments
Open

[Bug] incorrect console log when use WagmiWeb3ConfigProvider #1006

LCJove opened this issue Jun 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@LCJove
Copy link
Collaborator

LCJove commented Jun 27, 2024

What happens?

使用 WagmiWeb3ConfigProvider,在配置中使用base链的配置之后,控制台会报错 Can not find chain 8453, you should config it in WagmiWeb3ConfigProvider 'chains'. 但其实wagmi是支持base链的。
虽然请求还是可以正常发起被处理
目前发现base和 baseSepolia 会报错,其他的没有尝试过

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

可以看仓库里面的meetup2024相关的代码,或者访问https://web3.ant.design/meetup2024

Context

  • Ant Design Web3 Version:
  • Node Version:
  • Platform:
@LCJove
Copy link
Collaborator Author

LCJove commented Jun 27, 2024

看了一下代码,应该是 WagmiWeb3ConfigProvider 这里取chains的时候,是直接从props中取的,但是在设置的时候是在config中设置了,导致判断为空报错

@LCJove LCJove added the bug Something isn't working label Jun 27, 2024
@LCJove
Copy link
Collaborator Author

LCJove commented Jun 27, 2024

#919 相关

@gin-lsl
Copy link
Collaborator

gin-lsl commented Jun 27, 2024

所以这个图标才没加载出来吗
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants