daostack / daostack/arc.js_legacy

Fail if we don't have right wrapper in factory.at

Open
#256 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.