From d36bfcc164518146f0d1d4056406f70210615bb1 Mon Sep 17 00:00:00 2001 From: wbt Date: Tue, 26 Jun 2018 12:27:22 -0400 Subject: [PATCH] Adding log statement for Geth Issue #17076 Should produce log message like "Current effective targetGasLimit=1234567" --- cmd/utils/flags.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 41a1ac35fe..841ca396fc 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1182,6 +1182,7 @@ func RegisterEthStatsService(stack *node.Node, url string) { func SetupNetwork(ctx *cli.Context) { // TODO(fjl): move target gas limit into config params.TargetGasLimit = ctx.GlobalUint64(TargetGasLimitFlag.Name) + log.Info("Current effective", "targetGasLimit", params.TargetGasLimit) } // MakeChainDatabase open an LevelDB using the flags passed to the client and will hard crash if it fails.