diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a86e705..d85bca0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.21 - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.52.0 + version: v1.54.2 args: --timeout=10m diff --git a/x/inter-tx/ibc_module.go b/x/inter-tx/ibc_module.go index 5e5881a..8495577 100644 --- a/x/inter-tx/ibc_module.go +++ b/x/inter-tx/ibc_module.go @@ -132,7 +132,7 @@ func (im IBCModule) OnAcknowledgementPacket( return nil default: for _, msgData := range txMsgData.Data { - response, err := handleMsgData(ctx, msgData) + response, err := handleMsgData(msgData) if err != nil { return err } @@ -152,7 +152,7 @@ func (IBCModule) OnTimeoutPacket( return nil } -func handleMsgData(ctx sdk.Context, msgData *sdk.MsgData) (string, error) { //nolint:staticcheck // SA1019: sdk.MsgData is deprecated: Do not use. +func handleMsgData(msgData *sdk.MsgData) (string, error) { //nolint:staticcheck // SA1019: sdk.MsgData is deprecated: Do not use. switch msgData.MsgType { case sdk.MsgTypeURL(&banktypes.MsgSend{}): msgResponse := &banktypes.MsgSendResponse{}