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

TypeError: Cannot read properties of undefined (reading 'getNetwork') #23

Open
samkohli opened this issue Mar 6, 2022 · 2 comments
Open

Comments

@samkohli
Copy link

samkohli commented Mar 6, 2022

Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'getNetwork')

Source
components/chains/ethereum/token/ETHBalance.tsx (113:6) @ EthBalance

111 | const { account } = useWeb3React()
112 | const { data: balance, mutate } = useEtherSWR(

113 | ['getBalance', account, 'latest'],
| ^
114 | {
115 | subscribe: [
116 | {

@sjriddle
Copy link

sjriddle commented Mar 28, 2022

I believe this issue is caused by the @0xsequence/multicall dependency not having specific chain Ids in the network configuration. I'm not sure what chain you're needing but I added the Harmony & Aurora blockchain IDs in a pull request to @0xsequence

0xsequence/sequence.js#247

@aboutlo
Copy link
Owner

aboutlo commented Apr 18, 2022

@samkohli did you solve it? likely It depends on configuration issues. Could provide more context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants