From 02983a48347d3db3ebe8a5cf4db2e7afd73de103 Mon Sep 17 00:00:00 2001 From: Solovyov1796 Date: Thu, 20 Jun 2024 00:40:26 +0800 Subject: [PATCH] enable vesting msgs --- app/ante/vesting.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/ante/vesting.go b/app/ante/vesting.go index b4b2267c..4c7f8495 100644 --- a/app/ante/vesting.go +++ b/app/ante/vesting.go @@ -4,7 +4,6 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" ) var _ sdk.AnteDecorator = VestingAccountDecorator{} @@ -17,9 +16,9 @@ type VestingAccountDecorator struct { func NewVestingAccountDecorator() VestingAccountDecorator { return VestingAccountDecorator{ disabledMsgTypeUrls: []string{ - sdk.MsgTypeURL(&vesting.MsgCreateVestingAccount{}), - sdk.MsgTypeURL(&vesting.MsgCreatePermanentLockedAccount{}), - sdk.MsgTypeURL(&vesting.MsgCreatePeriodicVestingAccount{}), + // sdk.MsgTypeURL(&vesting.MsgCreateVestingAccount{}), + // sdk.MsgTypeURL(&vesting.MsgCreatePermanentLockedAccount{}), + // sdk.MsgTypeURL(&vesting.MsgCreatePeriodicVestingAccount{}), }, } }