Skip to content

Commit

Permalink
Merge PR:register oec config to dynamic config (#1232)
Browse files Browse the repository at this point in the history
* add flag of max gas used per block to replay

* register oec config to dynamic config
  • Loading branch information
KamiD authored Nov 29, 2021
1 parent ebe0831 commit dddbfaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/exchaind/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit dddbfaf

Please sign in to comment.