|
1 |
| -/* |
2 |
| -NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov |
3 |
| -controlled execution of MsgUpdateParams messages. These types remains solely |
4 |
| -for migration purposes and will be removed in a future release. |
5 |
| -*/ |
6 | 1 | // Copyright 2021 Evmos Foundation
|
7 | 2 | // This file is part of Evmos' Ethermint library.
|
8 | 3 | //
|
@@ -32,12 +27,18 @@ var (
|
32 | 27 | ParamStoreKeyAllowUnprotectedTxs = []byte("AllowUnprotectedTxs")
|
33 | 28 | )
|
34 | 29 |
|
35 |
| -// ParamKeyTable returns the parameter key table. |
| 30 | +// Deprecated: ParamKeyTable returns the parameter key table. |
| 31 | +// Usage of x/params to manage parameters is deprecated in favor of x/gov |
| 32 | +// controlled execution of MsgUpdateParams messages. These types remain solely |
| 33 | +// for migration purposes and will be removed in a future release. |
36 | 34 | func ParamKeyTable() paramtypes.KeyTable {
|
37 | 35 | return paramtypes.NewKeyTable().RegisterParamSet(&Params{})
|
38 | 36 | }
|
39 | 37 |
|
40 |
| -// ParamSetPairs returns the parameter set pairs. |
| 38 | +// Deprecated: ParamSetPairs returns the parameter set pairs. |
| 39 | +// Usage of x/params to manage parameters is deprecated in favor of x/gov |
| 40 | +// controlled execution of MsgUpdateParams messages. These types remain solely |
| 41 | +// for migration purposes and will be removed in a future release. |
41 | 42 | func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs {
|
42 | 43 | return paramtypes.ParamSetPairs{
|
43 | 44 | paramtypes.NewParamSetPair(ParamStoreKeyEVMDenom, &p.EvmDenom, validateEVMDenom),
|
|
0 commit comments