Skip to content

Commit a195ea8

Browse files
committed
#303 Upgrade Cosmos-SDK to v0.47.3
- Update version of linter Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com> Signed-off-by: Abdulbois <abdulbois123@gmail.com>
1 parent ed4bd87 commit a195ea8

File tree

3 files changed

+6
-37
lines changed

3 files changed

+6
-37
lines changed

.github/workflows/verify.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
needs:
112112
- changes
113113
steps:
114-
- uses: actions/setup-go@v3
114+
- uses: actions/setup-go@v4
115115
with:
116116
go-version: ^1.20
117117
- uses: actions/checkout@v3
@@ -134,13 +134,13 @@ jobs:
134134
- changes
135135
steps:
136136
- uses: actions/checkout@v3
137-
- uses: actions/setup-go@v3
137+
- uses: actions/setup-go@v4
138138
with:
139-
go-version: 1.20
139+
go-version: 1.21
140140
- name: golangci-lint
141-
uses: golangci/golangci-lint-action@v3.6.0
141+
uses: golangci/golangci-lint-action@v3
142142
with:
143-
version: 1.55.2
143+
version: v1.55
144144
args: --timeout 5m0s
145145
check:
146146
if: always()

integration_tests/cli/common.sh

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ wait_for_height() {
192192
fi
193193

194194
while true; do
195+
docker logs -n 100 node0
195196
sleep "${wait_interval}"
196197
waited=$((waited + wait_interval))
197198

x/dclupgrade/types/message_propose_upgrade_test.go

-32
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ package types
22

33
import (
44
"testing"
5-
"time"
65

7-
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
86
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
97
"github.com/stretchr/testify/require"
108
testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants"
@@ -87,36 +85,6 @@ func TestMsgProposeUpgrade_ValidateBasic(t *testing.T) {
8785
},
8886
err: sdkerrors.ErrInvalidRequest,
8987
},
90-
{
91-
name: "plan time is not zero",
92-
msg: MsgProposeUpgrade{
93-
Creator: sample.AccAddress(),
94-
Plan: Plan{
95-
Name: testconstants.UpgradePlanName,
96-
Height: testconstants.UpgradePlanHeight,
97-
Info: testconstants.UpgradePlanInfo,
98-
Time: time.Now(),
99-
},
100-
Info: testconstants.Info,
101-
Time: testconstants.Time,
102-
},
103-
err: *sdkerrors.ErrInvalidRequest,
104-
},
105-
{
106-
name: "Plan upgradedClientState is not nil",
107-
msg: MsgProposeUpgrade{
108-
Creator: sample.AccAddress(),
109-
Plan: Plan{
110-
Name: testconstants.UpgradePlanName,
111-
Height: testconstants.UpgradePlanHeight,
112-
Info: testconstants.UpgradePlanInfo,
113-
UpgradedClientState: &codectypes.Any{TypeUrl: "333"},
114-
},
115-
Info: testconstants.Info,
116-
Time: testconstants.Time,
117-
},
118-
err: *sdkerrors.ErrInvalidRequest,
119-
},
12088
}
12189

12290
positiveTests := []struct {

0 commit comments

Comments
 (0)