-
Notifications
You must be signed in to change notification settings - Fork 404
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
Start rework channel query #1620
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1620 +/- ##
==========================================
+ Coverage 56.59% 56.65% +0.06%
==========================================
Files 64 64
Lines 8755 8758 +3
==========================================
+ Hits 4955 4962 +7
+ Misses 3414 3411 -3
+ Partials 386 385 -1
|
assert: func(t *testing.T, d []byte) { | ||
rsp := unmarshalReflect[wasmvmtypes.ListChannelsResponse](t, d) | ||
assert.Nil(t, rsp.Channels) | ||
}, |
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.
really good tests!
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 💯
Resolves #1597
This may change the result set for
list-channel
queries when no port is passed.Before we returned all open channels but now we fallback to the contracts ibc port or return an empty list for non ibc-contracts.