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

Add a linter for missing UnpackInterfaces function #8325

Open
4 tasks
colin-axner opened this issue Jan 13, 2021 · 0 comments
Open
4 tasks

Add a linter for missing UnpackInterfaces function #8325

colin-axner opened this issue Jan 13, 2021 · 0 comments

Comments

@colin-axner
Copy link
Contributor

colin-axner commented Jan 13, 2021

Summary

Whenever a type has an Any embedded some layer below, every layer must implement UnpackInterfaces or face the dreaded cannot unpack interface error. We should add a linter which checks this. I'm not sure if this has been a problem for other modules, but there have been several times with ibc that we were missing this function and only discovered it after a couple hours of debugging


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants