@@ -5,6 +5,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/auction/types"
|
||||
)
|
||||
|
||||
|
||||
@@ -8,11 +8,12 @@ import (
|
||||
"cosmossdk.io/math"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
|
||||
testutils "github.com/skip-mev/block-sdk/testutils"
|
||||
"github.com/skip-mev/block-sdk/x/auction/keeper"
|
||||
"github.com/skip-mev/block-sdk/x/auction/types"
|
||||
"github.com/skip-mev/block-sdk/x/auction/types/mocks"
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
)
|
||||
|
||||
func (s *KeeperTestSuite) TestValidateAuctionBid() {
|
||||
|
||||
@@ -33,7 +33,8 @@ func (_m *AccountKeeper) GetModuleAddress(moduleName string) types.AccAddress {
|
||||
func NewAccountKeeper(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}) *AccountKeeper {
|
||||
},
|
||||
) *AccountKeeper {
|
||||
mock := &AccountKeeper{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@ func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress,
|
||||
func NewBankKeeper(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}) *BankKeeper {
|
||||
},
|
||||
) *BankKeeper {
|
||||
mock := &BankKeeper{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
@@ -45,7 +45,8 @@ func (_m *DistributionKeeper) GetPreviousProposerConsAddr(ctx context.Context) (
|
||||
func NewDistributionKeeper(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}) *DistributionKeeper {
|
||||
},
|
||||
) *DistributionKeeper {
|
||||
mock := &DistributionKeeper{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
@@ -43,7 +43,8 @@ func (_m *RewardsAddressProvider) GetRewardsAddress(context types.Context) (type
|
||||
func NewRewardsAddressProvider(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}) *RewardsAddressProvider {
|
||||
},
|
||||
) *RewardsAddressProvider {
|
||||
mock := &RewardsAddressProvider{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
@@ -45,7 +45,8 @@ func (_m *StakingKeeper) GetValidatorByConsAddr(_a0 context.Context, _a1 types.C
|
||||
func NewStakingKeeper(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}) *StakingKeeper {
|
||||
},
|
||||
) *StakingKeeper {
|
||||
mock := &StakingKeeper{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user