chore: format (#182)

* format abci

* fmt all
This commit is contained in:
Alex Johnson
2023-11-02 14:14:22 -04:00
committed by GitHub
parent 574562ca0e
commit 8681298dbc
20 changed files with 30 additions and 10 deletions
+1
View File
@@ -5,6 +5,7 @@ import (
"fmt"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/skip-mev/block-sdk/x/auction/types"
)
+2 -1
View File
@@ -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() {
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)