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

Check if a module implements required interface when adding to registry #16

Closed
2 tasks done
akshay-ap opened this issue Jun 29, 2023 · 0 comments · Fixed by #48
Closed
2 tasks done

Check if a module implements required interface when adding to registry #16

akshay-ap opened this issue Jun 29, 2023 · 0 comments · Fixed by #48
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@akshay-ap
Copy link
Contributor

akshay-ap commented Jun 29, 2023

  • Inherit IERC165 interface in component interfaces
  • When adding a module to a registry, add check in registry that it implements right interface id.
@akshay-ap akshay-ap self-assigned this Jun 29, 2023
@akshay-ap akshay-ap added the enhancement New feature or request label Jun 29, 2023
@akshay-ap akshay-ap added this to the v0.1.0 milestone Jun 29, 2023
@akshay-ap akshay-ap mentioned this issue Jun 29, 2023
9 tasks
akshay-ap added a commit that referenced this issue Jul 24, 2023
…registry, inherit SafeProtocolRegistry in test registry
akshay-ap added a commit that referenced this issue Jul 25, 2023
akshay-ap added a commit that referenced this issue Aug 1, 2023
akshay-ap added a commit that referenced this issue Aug 1, 2023
akshay-ap added a commit that referenced this issue Aug 1, 2023
akshay-ap added a commit that referenced this issue Aug 2, 2023
akshay-ap added a commit that referenced this issue Aug 2, 2023
github-merge-queue bot pushed a commit that referenced this issue Aug 2, 2023
* [#16] Fix failing build

* [#16] Update import in tsconfig.json to resolve import error
github-merge-queue bot pushed a commit that referenced this issue Aug 2, 2023
* [#16] Check if integration supports valid interfaceId when adding to registry, inherit SafeProtocolRegistry in test registry

* [#16] Add tests

* [#16] Make event parameters indexed in SafeProtocolRegistry

* [#16] Use `target` property in test instead of `getAddress()` in Registry tests

* [#16] Use `target` instead of `getAddress()` in mock builders

* [#16] Update import in tsconfig.json to resolve import error

* [#16] Use `setupTests()`function

* [#16] Fix failing build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant