Skip to content

Commit

Permalink
Merge branch 'main' into feat/ibc-eureka
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Jan 20, 2025
2 parents b3184b4 + 14a81e3 commit fb275ab
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/callbacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/golangci-lint-action@v6.1.1
- uses: golangci/golangci-lint-action@v6.2.0
with:
version: v1.62
only-new-issues: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2emodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/golangci-lint-action@v6.1.1
- uses: golangci/golangci-lint-action@v6.2.0
with:
version: v1.62
only-new-issues: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v6.1.1
uses: golangci/golangci-lint-action@v6.2.0
with:
version: v1.62
only-new-issues: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v6.1.1
uses: golangci/golangci-lint-action@v6.2.0
with:
version: v1.62
only-new-issues: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/golangci-lint-action@v6.1.1
- uses: golangci/golangci-lint-action@v6.2.0
with:
version: v1.62
only-new-issues: true
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements/ics27-multiplexed-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The current pain points for existing ICA users are listed:

| Features | Release |
| --------- | ------- |
| Multi-plexed Interchain Accounts | ibc-go v10.0.0 |
| Multi-plexed Interchain Accounts | ibc-go version tbd |

# User requirements

Expand Down
10 changes: 3 additions & 7 deletions modules/apps/27-interchain-accounts/host/types/keys.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package types

import (
"slices"

sdk "github.com/cosmos/cosmos-sdk/types"
)

Expand All @@ -25,11 +27,5 @@ func ContainsMsgType(allowMsgs []string, msg sdk.Msg) bool {
return true
}

for _, v := range allowMsgs {
if v == sdk.MsgTypeURL(msg) {
return true
}
}

return false
return slices.Contains(allowMsgs, sdk.MsgTypeURL(msg))
}

0 comments on commit fb275ab

Please sign in to comment.