Skip to content

Commit

Permalink
regenerate mocks and fix gomock types
Browse files Browse the repository at this point in the history
  • Loading branch information
vladjdk committed Feb 26, 2025
1 parent 17187db commit 004dc57
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 23 deletions.
1 change: 0 additions & 1 deletion middleware/packet-forward-middleware/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ require (
github.com/spf13/cobra v1.8.1
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.10.0
go.uber.org/mock v0.4.0
)

require (
Expand Down
2 changes: 0 additions & 2 deletions middleware/packet-forward-middleware/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1053,8 +1053,6 @@ go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package v3_test

import (
"github.com/golang/mock/gomock"
"testing"

"cosmossdk.io/log"
Expand All @@ -11,7 +12,6 @@ import (
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"

tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
dbm "github.com/cosmos/cosmos-db"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package packetforward_test
import (
"encoding/json"
"fmt"
"github.com/golang/mock/gomock"
"testing"

"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v9/packetforward/keeper"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v9/packetforward/types"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v9/test"
"github.com/iancoleman/orderedmap"
"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"

sdkmath "cosmossdk.io/math"

Expand Down
22 changes: 10 additions & 12 deletions middleware/packet-forward-middleware/test/mock/ibc_module.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion middleware/packet-forward-middleware/test/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v9/packetforward/keeper"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v9/packetforward/types"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v9/test/mock"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"

"cosmossdk.io/log"
"cosmossdk.io/store"
Expand Down

0 comments on commit 004dc57

Please sign in to comment.