-
Notifications
You must be signed in to change notification settings - Fork 22
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
Generic interfaces on examples #402
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #402 +/- ##
=======================================
Coverage 85.01% 85.01%
=======================================
Files 42 42
Lines 2916 2916
=======================================
Hits 2479 2479
Misses 437 437 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general looks ok, but I see couple CosmosCustomMsg
and I don't know what are they about. Do we need those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ExecC
is a type meant to be used for defining the custom message in the interface.
It seems like it's needed for now or else it won't compile. @jawoznia and @kulikthebird think it might be a bug in Sylvia |
c9dd755
to
12f010f
Compare
12f010f
to
7b4a585
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7b4a585
to
4e0bafd
Compare
Part of #399.
This PR deals with the "Interfaces" part of the issue above.
It also makes the affected contracts and tests use
cosmwasm_std::Empty
for their different implementations of the now generic interfaces.