daostack / daostack/arc.js_legacy
Fail if we don't have right wrapper in factory.at
Open
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Check that we have the right wrapper in wrapper `factory.at`. Throw an exception if not.
So, for example, throw an exception if we use `GenesisProtocolWrapperFactory.at` given an address that is not pointing to the `GenesisProtocol` that was deployed by the running version of arc.js.
Contributor guide
Research direction
Start by inspecting the factory.at entry point and GenesisProtocolWrapperFactory.at, then trace how the running arc.js version identifies deployed GenesisProtocol contracts. Add coverage for an address with the wrong wrapper and confirm that the expected exception is raised; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100