-
Notifications
You must be signed in to change notification settings - Fork 624
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
chore: adding IsMiddlewareEnabled
to ActiveChannel
genesis type
#2177
Conversation
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.
Fantastic! Ultra clean addition
ConnectionId: keySplit[2], | ||
PortId: keySplit[1], | ||
ChannelId: string(iterator.Value()), | ||
IsMiddlewareEnabled: k.IsMiddlewareEnabled(ctx, keySplit[1], string(iterator.Value())), |
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 the future, I think it'd probably be wise to set these key splits/iterator values to variables for readability purposes. I don't think it needs to change as this is a problem throughout our codebase (keysplit should probably be a parse func)
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.
Agreed! :)
IsMiddlewareEnabled
to ActiveChannel
genesis typeIsMiddlewareEnabled
to ActiveChannel
genesis type
Codecov Report
@@ Coverage Diff @@
## main #2177 +/- ##
=======================================
Coverage 79.48% 79.49%
=======================================
Files 173 173
Lines 12011 12015 +4
=======================================
+ Hits 9547 9551 +4
Misses 2042 2042
Partials 422 422
|
proto/ibc/applications/interchain_accounts/genesis/v1/genesis.proto
Outdated
Show resolved
Hide resolved
…proto Co-authored-by: Carlos Rodriguez <[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.
LGTM 👍
…2177) * adding IsMiddlewareEnabled flag to ActiveChannel genesis type * correcting yaml tag * adding changelog entry * Update proto/ibc/applications/interchain_accounts/genesis/v1/genesis.proto Co-authored-by: Carlos Rodriguez <[email protected]> Co-authored-by: Carlos Rodriguez <[email protected]> (cherry picked from commit b836b7f) # Conflicts: # CHANGELOG.md
…backport #2177) (#2224) * chore: adding `IsMiddlewareEnabled` to `ActiveChannel` genesis type (#2177) * adding IsMiddlewareEnabled flag to ActiveChannel genesis type * correcting yaml tag * adding changelog entry * Update proto/ibc/applications/interchain_accounts/genesis/v1/genesis.proto Co-authored-by: Carlos Rodriguez <[email protected]> Co-authored-by: Carlos Rodriguez <[email protected]> (cherry picked from commit b836b7f) # Conflicts: # CHANGELOG.md * fix conflicts Co-authored-by: Damian Nolan <[email protected]> Co-authored-by: Colin Axnér <[email protected]>
Description
closes: #2165
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes