From dddbfafe1ef3c2493b99cdee6d674cec154eca0d Mon Sep 17 00:00:00 2001 From: KamiD <44460798+KamiD@users.noreply.github.com> Date: Mon, 29 Nov 2021 17:16:48 +0800 Subject: [PATCH] =?UTF-8?q?Merge=20PR=EF=BC=9Aregister=20oec=20config=20to?= =?UTF-8?q?=20dynamic=20config=20(#1232)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add flag of max gas used per block to replay * register oec config to dynamic config --- cmd/exchaind/replay.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/exchaind/replay.go b/cmd/exchaind/replay.go index a86eb571b4..8a815e81c2 100644 --- a/cmd/exchaind/replay.go +++ b/cmd/exchaind/replay.go @@ -93,6 +93,7 @@ func replayCmd(ctx *server.Context) *cobra.Command { cmd.Flags().Bool(sm.FlagParalleledTx, false, "pall Tx") cmd.Flags().Bool(saveBlock, false, "save block when replay") cmd.Flags().Int64(config.FlagMaxGasUsedPerBlock, -1, "Maximum gas used of transactions in a block") + config.RegisterDynamicConfig(ctx.Logger.With("module", "config")) return cmd }