vesting: remove alias.go (#6579)

This commit is contained in:
Marko
2020-07-02 15:08:44 +02:00
committed by GitHub
parent 14d1ee5437
commit a0f9cc7627
4 changed files with 3 additions and 32 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"github.com/cosmos/cosmos-sdk/server"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting"
authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
+1 -1
View File
@@ -6,7 +6,7 @@ import (
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth/vesting"
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
)
// ----------------------------------------------------------------------------
-29
View File
@@ -1,29 +0,0 @@
package vesting
// DONTCOVER
// nolint
import (
"github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
)
var (
RegisterCodec = types.RegisterCodec
RegisterInterfaces = types.RegisterInterfaces
NewBaseVestingAccount = types.NewBaseVestingAccount
NewContinuousVestingAccountRaw = types.NewContinuousVestingAccountRaw
NewContinuousVestingAccount = types.NewContinuousVestingAccount
NewPeriodicVestingAccountRaw = types.NewPeriodicVestingAccountRaw
NewPeriodicVestingAccount = types.NewPeriodicVestingAccount
NewDelayedVestingAccountRaw = types.NewDelayedVestingAccountRaw
NewDelayedVestingAccount = types.NewDelayedVestingAccount
)
type (
BaseVestingAccount = types.BaseVestingAccount
ContinuousVestingAccount = types.ContinuousVestingAccount
PeriodicVestingAccount = types.PeriodicVestingAccount
DelayedVestingAccount = types.DelayedVestingAccount
Period = types.Period
Periods = types.Periods
)
+1 -1
View File
@@ -13,7 +13,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting"
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
"github.com/cosmos/cosmos-sdk/x/bank/keeper"
"github.com/cosmos/cosmos-sdk/x/bank/types"
)