Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

deps: merge changes from main into sdk 50 branch #4273

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e827534
refactor: (#4175)
lazyfuhrer Jul 27, 2023
e817884
change import alias from tm to cmt to reduce review diffs (#4178)
colin-axner Jul 27, 2023
0b746b6
refactor: remove unused function simapp.SetupWithGenesisAccounts (#4180)
colin-axner Jul 27, 2023
6bfa0b3
remove unnecessary wrap sdk context call (#4181)
colin-axner Jul 27, 2023
585e56b
docs: ica tx encoding documentation added (#4169)
srdtrk Jul 27, 2023
e6f33b7
build(deps): Bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#4190)
dependabot[bot] Jul 27, 2023
730aa16
Run ica genesis/types tests. (#4193)
DimitrisJim Jul 28, 2023
4e1e594
use collections contains (#4196)
crodriguezvega Jul 28, 2023
0bce6b5
imp: remove `Version` interface and casting functions from 03-connection
Reecepbcups Jul 28, 2023
38d3122
imp: upstream mock app error type included in https://github.com/cosm…
colin-axner Jul 28, 2023
47b27ed
fix: return current validator set when requesting current height in t…
colin-axner Jul 31, 2023
8be3049
nit: use collections.Contains when checking for supported encoding, t…
DimitrisJim Jul 31, 2023
117604a
Remove unused simulation configuration. (#4198)
DimitrisJim Jul 31, 2023
561eb36
imp(apps): added 'WithICS4Wrapper' function to keepers (#4187)
srdtrk Jul 31, 2023
2ac5506
feat(core, apps): 'PacketDataUnmarshaler' interface added and impleme…
srdtrk Jul 31, 2023
9e97003
add missing e2e params to CI (#4207)
crodriguezvega Aug 1, 2023
a4ca39c
fully enable revive (#3888)
faddat Aug 1, 2023
4531a04
update status and release columns of localhost requirements
crodriguezvega Aug 1, 2023
a0a6526
feat(core, apps): 'PacketDataProvider' interface added and implemente…
srdtrk Aug 1, 2023
ec68438
feat(core, apps): 'PacketData' interface added and implemented (#4200)
srdtrk Aug 1, 2023
c0c6278
Remove dogsled, clean up .golangci unused settings. (#4223)
DimitrisJim Aug 2, 2023
b9dd49e
build(deps): Bump go.uber.org/zap from 1.24.0 to 1.25.0 in /e2e (#4231)
dependabot[bot] Aug 2, 2023
45c2fd0
Merge commit '49cdfc5ffadff9b8eef09d6a962201f0a4574e52' into fully-re…
faddat Aug 3, 2023
87cc749
Merge commit '38d31225c1859e01292ef93fec6370100590054a' into refresh-…
faddat Aug 3, 2023
6942115
Merge commit '2ac55069ad479838f93d9f4000f526a944196236' into refresh-…
faddat Aug 3, 2023
2d29e8b
Merge commit '9e970031b4d29ef31235329bad54e96654c65ba1' into refresh-…
faddat Aug 3, 2023
96fb3ca
Merge commit 'a4ca39c59f770a0b6948947d5178d5f0914c3a17' into refresh-…
faddat Aug 3, 2023
9cc55d4
Merge remote-tracking branch 'origin/main' into refresh-sdk-50
faddat Aug 3, 2023
9acb10a
tidy
faddat Aug 3, 2023
8fe8c50
update cosmos-sdk
faddat Aug 3, 2023
a707638
fix changes
faddat Aug 3, 2023
f69b7ac
lint the v50 branch and update linter version used
faddat Aug 3, 2023
1f0e922
Merge branch 'faddat/bump-sdk' into refresh-sdk-50
faddat Aug 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
Expand Down
4 changes: 3 additions & 1 deletion .github/compatibility-test-matrices/main/ica-chain-a.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
4 changes: 3 additions & 1 deletion .github/compatibility-test-matrices/main/ica-chain-b.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"test": [
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour"
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
4 changes: 3 additions & 1 deletion .github/compatibility-test-matrices/unreleased/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"TestClientTestSuite"
],
"test": [
"TestClientUpdateProposal_Succeeds"
"TestClientUpdateProposal_Succeeds",
"TestClient_Update_Misbehaviour",
"TestAllowedClientsParam"
],
"relayer-type": [
"rly"
Expand Down
4 changes: 3 additions & 1 deletion .github/compatibility-test-matrices/unreleased/ica.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA"
"TestMsgSendTx_SuccessfulTransfer_AfterReopeningICA",
"TestControllerEnabledParam",
"TestHostEnabledParam"
],
"relayer-type": [
"rly"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.6.0
with:
version: v1.53.1
version: v1.53.3
args: --timeout 5m
77 changes: 54 additions & 23 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ run:
linters:
disable-all: true
enable:
- dogsled
- exportloopref
- errcheck
- gci
Expand All @@ -20,32 +19,24 @@ linters:
- nakedret
- staticcheck
- thelper
- typecheck
- stylecheck
- revive
- typecheck
- tenv
- unconvert
- unused
- misspell

issues:
exclude-rules:
- text: 'unused-parameter'
- text: 'differs only by capitalization to method'
linters:
- revive
- text: 'SA1019:'
linters:
- staticcheck
- text: 'Use of weak random number generator'
linters:
- gosec
- text: 'ST1003:'
linters:
- stylecheck
# FIXME: Disabled until golangci-lint updates stylecheck with this fix:
# https://github.com/dominikh/go-tools/issues/389
- text: 'ST1016:'
linters:
- stylecheck

max-issues-per-linter: 10000
max-same-issues: 10000

Expand All @@ -61,17 +52,57 @@ linters-settings:
- prefix(github.com/cometbft/cometbft)
- prefix(github.com/cosmos/ibc-go)
custom-order: true
dogsled:
max-blank-identifiers: 3
maligned:
# print struct with more effective memory layout or not, false by default
suggest-new: true
nolintlint:
allow-unused: false
allow-leading-space: true
require-explanation: false
require-specific: false
revive:
enable-all-rules: true
# Do NOT whine about the following, full explanation found in:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#description-of-available-rules
rules:
- name: use-any
disabled: true
- name: if-return
disabled: true
- name: max-public-structs
disabled: true
- name: cognitive-complexity
disabled: true
- name: argument-limit
disabled: true
- name: cyclomatic
disabled: true
- name: file-header
disabled: true
- name: function-length
disabled: true
- name: function-result-limit
disabled: true
- name: line-length-limit
disabled: true
- name: flag-parameter
disabled: true
- name: add-constant
disabled: true
- name: empty-lines
disabled: true
- name: banned-characters
disabled: true
- name: deep-exit
disabled: true
- name: confusing-results
disabled: true
- name: unused-parameter
disabled: true
- name: modifies-value-receiver
disabled: true
- name: early-return
disabled: true
- name: confusing-naming
disabled: true
- name: defer
disabled: true
- name: unhandled-error
disabled: false
arguments:
- 'fmt.Printf'
- 'fmt.Print'
- 'fmt.Println'
- 'myFunction'
9 changes: 7 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ module.exports = {
directory: false,
path: "/apps/interchain-accounts/parameters.html",
},
{
title: "Tx Encoding",
directory: false,
path: "/apps/interchain-accounts/tx-encoding.html",
},
{
title: "Client",
directory: false,
Expand Down Expand Up @@ -314,7 +319,7 @@ module.exports = {
directory: false,
path: "/apps/interchain-accounts/legacy/keeper-api.html",
},
]
],
},
],
},
Expand Down Expand Up @@ -425,7 +430,7 @@ module.exports = {
directory: false,
path: "/ibc/light-clients/setup.html",
},
]
],
},
{
title: "Localhost",
Expand Down
2 changes: 1 addition & 1 deletion docs/apps/interchain-accounts/active-channels.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
order: 8
order: 9
-->

# Understanding Active Channels
Expand Down
Loading