From 540e1a1734db9a2ad2ccadd9a52dd60fce6a5eea Mon Sep 17 00:00:00 2001 From: 0xsatoshi Date: Thu, 20 Jun 2024 00:13:31 +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{}), }, } }