-
Notifications
You must be signed in to change notification settings - Fork 212
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
Separate "define" and "publish" for contract interfaces, and allow deleting unpublished interfaces #1279
Conversation
ed50ce3
to
1772c35
Compare
Codecov Report
@@ Coverage Diff @@
## main #1279 +/- ##
===========================================
- Coverage 100.00% 99.97% -0.03%
===========================================
Files 310 312 +2
Lines 20960 21123 +163
===========================================
+ Hits 20960 21117 +157
- Misses 0 6 +6
|
Signed-off-by: Andrew Richardson <[email protected]>
Signed-off-by: Andrew Richardson <[email protected]>
Signed-off-by: Andrew Richardson <[email protected]>
Signed-off-by: Andrew Richardson <[email protected]>
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.
Looks great!
Only thing I noticed was that coverage dropped in the SQL package with those updates.
Happy to leave it with you whether to close that before merge.
case iface == nil: | ||
return wrapSendError(i18n.NewError(ctx, coremsgs.MsgContractInterfaceNotFound, pool.Interface.ID)) | ||
case !iface.Published: | ||
return wrapSendError(i18n.NewError(ctx, coremsgs.MsgContractInterfaceNotPublished, pool.Interface.ID)) |
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.
Great to see this case covered 👍
I double-checked coverage on |
Part of the fix for #1220
In a chain with #1261Depends on hyperledger/firefly-common#64