diff --git a/x/evm/types/params_legacy.go b/x/evm/types/params_legacy.go index 39092155f0..829b2a8a0d 100644 --- a/x/evm/types/params_legacy.go +++ b/x/evm/types/params_legacy.go @@ -1,8 +1,3 @@ -/* -NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov -controlled execution of MsgUpdateParams messages. These types remains solely -for migration purposes and will be removed in a future release. -*/ // Copyright 2021 Evmos Foundation // This file is part of Evmos' Ethermint library. // @@ -32,12 +27,18 @@ var ( ParamStoreKeyAllowUnprotectedTxs = []byte("AllowUnprotectedTxs") ) -// ParamKeyTable returns the parameter key table. +// Deprecated: ParamKeyTable returns the parameter key table. +// Usage of x/params to manage parameters is deprecated in favor of x/gov +// controlled execution of MsgUpdateParams messages. These types remain solely +// for migration purposes and will be removed in a future release. func ParamKeyTable() paramtypes.KeyTable { return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) } -// ParamSetPairs returns the parameter set pairs. +// Deprecated: ParamSetPairs returns the parameter set pairs. +// Usage of x/params to manage parameters is deprecated in favor of x/gov +// controlled execution of MsgUpdateParams messages. These types remain solely +// for migration purposes and will be removed in a future release. func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { return paramtypes.ParamSetPairs{ paramtypes.NewParamSetPair(ParamStoreKeyEVMDenom, &p.EvmDenom, validateEVMDenom),