Skip to content

Commit 1d3b24e

Browse files
committed
cmd/geth: deprecate interpreter config fields
1 parent 03a4cdf commit 1d3b24e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

cmd/geth/config.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,5 +236,12 @@ func applyMetricConfig(ctx *cli.Context, cfg *gethConfig) {
236236
}
237237

238238
func deprecated(field string) bool {
239-
return false
239+
switch field {
240+
case "ethconfig.Config.EVMInterpreter":
241+
return true
242+
case "ethconfig.Config.EWASMInterpreter":
243+
return true
244+
default:
245+
return false
246+
}
240247
}

0 commit comments

Comments
 (0)