From 36a8c6967f099b8c9bd3f4726879fc8ac38fd9e9 Mon Sep 17 00:00:00 2001 From: Fynn Date: Mon, 31 Jul 2023 10:14:18 +0800 Subject: [PATCH] disable sp exit and bucket migrate --- x/gashub/types/genesis.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/x/gashub/types/genesis.go b/x/gashub/types/genesis.go index 3a1458ba41..0c9c812895 100644 --- a/x/gashub/types/genesis.go +++ b/x/gashub/types/genesis.go @@ -105,9 +105,10 @@ func DefaultGenesisState() *GenesisState { *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgMirrorGroup", 1.2e3), *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgPutPolicy", 2.4e3), *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgDeletePolicy", 1.2e3), - *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgMigrateBucket", 1.2e3), - *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgCancelMigrateBucket", 1.2e3), - *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgCompleteMigrateBucket", 1.2e3), + // NOTES: disable migrate bucket for testnet + // *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgMigrateBucket", 1.2e3), + // *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgCancelMigrateBucket", 1.2e3), + // *NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgCompleteMigrateBucket", 1.2e3), *NewMsgGasParamsWithFixedGas("/greenfield.payment.MsgCreatePaymentAccount", 2e5), *NewMsgGasParamsWithFixedGas("/greenfield.payment.MsgDeposit", 1.2e3), *NewMsgGasParamsWithFixedGas("/greenfield.payment.MsgWithdraw", 1.2e3), @@ -119,11 +120,12 @@ func DefaultGenesisState() *GenesisState { *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgDeposit", 1.2e3), *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgWithdraw", 1.2e3), *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgSettle", 1.2e3), - *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgSwapOut", 2.4e4), - *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgCompleteSwapOut", 2.4e4), - *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgCancelSwapOut", 1.2e3), - *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgStorageProviderExit", 1.2e3), - *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgCompleteStorageProviderExit", 1.2e3), + // NOTES: disable sp exit for testnet + // *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgSwapOut", 2.4e4), + // *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgCompleteSwapOut", 2.4e4), + // *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgCancelSwapOut", 1.2e3), + // *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgStorageProviderExit", 1.2e3), + // *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgCompleteStorageProviderExit", 1.2e3), *NewMsgGasParamsWithFixedGas("/greenfield.virtualgroup.MsgUpdateParams", 1.2e3), *NewMsgGasParamsWithDynamicGas( "/cosmos.authz.v1beta1.MsgGrant",