TypeError: Cannot read property 'error' of undefined
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
re: https://github.com/daostack/arc.js/blob/3d6d0f9727361dc33ace171b93aa72a1840f3020/src/arc.ts#L235
I am seeing this error when there is thrown an error "Connection not open" and
`accInfo.observer` is undefined.
`addr` is set to a DAO.
This is on rinkeby.
STEPS to force this error to happen:
1. clear any existing INFURA_ID environment variable in your shell
1. in the shell, run `npm run start-staging`
1. I'm really not sure: You may need to have an account already cached (so the "Connect" button will be showing)
1. using a fresh instance of your browser
1. run that build of Alchemy in your browser
1. navigate to Genesis Alpha (or probably any DAO)
RESULT:
You will see that the DAO token and ETH amounts say "N/A" and the quoted error message on the console.
Contributor guide
Assessment
This issue has not been assessed yet.