daostack / daostack/arc.js

TypeError: Cannot read property 'error' of undefined

Open
#495 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.