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

Generic interfaces on examples #402

Merged
merged 13 commits into from
Aug 6, 2024
Merged

Generic interfaces on examples #402

merged 13 commits into from
Aug 6, 2024

Conversation

abefernan
Copy link
Collaborator

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.

@abefernan abefernan self-assigned this Jul 19, 2024
Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.01%. Comparing base (df2fece) to head (4e0bafd).

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.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@hashedone hashedone left a 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?

Copy link
Collaborator

@jawoznia jawoznia left a 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.

@abefernan
Copy link
Collaborator Author

In general looks ok, but I see couple CosmosCustomMsg and I don't know what are they about. Do we need those?

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

@abefernan abefernan force-pushed the examples-generic-ifaces branch 2 times, most recently from c9dd755 to 12f010f Compare July 31, 2024 15:56
@abefernan abefernan force-pushed the examples-generic-ifaces branch from 12f010f to 7b4a585 Compare August 6, 2024 12:43
Copy link
Collaborator

@jawoznia jawoznia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abefernan abefernan force-pushed the examples-generic-ifaces branch from 7b4a585 to 4e0bafd Compare August 6, 2024 12:44
@abefernan abefernan merged commit ab0fc95 into main Aug 6, 2024
9 checks passed
@abefernan abefernan deleted the examples-generic-ifaces branch August 6, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants