Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Commit 2c50d32

Browse files
authored
Apply suggestions from code review
1 parent 110cd8e commit 2c50d32

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

x/evm/types/params_legacy.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
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-
*/
61
// Copyright 2021 Evmos Foundation
72
// This file is part of Evmos' Ethermint library.
83
//
@@ -32,12 +27,18 @@ var (
3227
ParamStoreKeyAllowUnprotectedTxs = []byte("AllowUnprotectedTxs")
3328
)
3429

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.
3634
func ParamKeyTable() paramtypes.KeyTable {
3735
return paramtypes.NewKeyTable().RegisterParamSet(&Params{})
3836
}
3937

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.
4142
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs {
4243
return paramtypes.ParamSetPairs{
4344
paramtypes.NewParamSetPair(ParamStoreKeyEVMDenom, &p.EvmDenom, validateEVMDenom),

0 commit comments

Comments
 (0)