diff --git a/cmd/cantod/root.go b/cmd/cantod/root.go index 5ad2c8587..5b345d323 100644 --- a/cmd/cantod/root.go +++ b/cmd/cantod/root.go @@ -4,6 +4,7 @@ import ( "errors" "fmt" "io" + "math" "os" "cosmossdk.io/simapp/params" @@ -178,6 +179,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { // add rosetta rootCmd.AddCommand(rosettacmd.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Codec)) + rootCmd.PersistentFlags().Int64Var(&cbfttypes.PriorityResetHeight, "reset-priority-height", math.MaxInt64, "reset priority height") rootCmd.PersistentFlags().Int64Var(&cbfttypes.PriorityResetHeightInterval, "reset-priority-height-interval", 100, "reset priority height interval") rootCmd.PersistentFlags().Int32Var(&cbfttypes.PriorityResetRoundInterval, "reset-priority-round-interval", 20, "reset priority round interval") return rootCmd, encodingConfig diff --git a/go.mod b/go.mod index 605be6e77..0ec8986cc 100644 --- a/go.mod +++ b/go.mod @@ -255,7 +255,7 @@ require ( replace ( cosmossdk.io/core => cosmossdk.io/core v0.11.0 github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 - github.com/cometbft/cometbft => github.com/b-harvest/cometbft v0.38.7-0.20240813100520-1c84414198b8 + github.com/cometbft/cometbft => github.com/b-harvest/cometbft v0.38.7-0.20240813111838-f355fccb8621 github.com/evmos/ethermint => github.com/b-harvest/ethermint v0.22.0-sdk50-1 // replace broken goleveldb github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 diff --git a/go.sum b/go.sum index 1ec918990..e55d03a9e 100644 --- a/go.sum +++ b/go.sum @@ -272,8 +272,8 @@ github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ= github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/b-harvest/cometbft v0.38.7-0.20240813100520-1c84414198b8 h1:x+YGWLKSKk4IY7vHGoalkx3vzTfVGuMuTVirwejI+Hs= -github.com/b-harvest/cometbft v0.38.7-0.20240813100520-1c84414198b8/go.mod h1:xOoGZrtUT+A5izWfHSJgl0gYZUE7lu7Z2XIS1vWG/QQ= +github.com/b-harvest/cometbft v0.38.7-0.20240813111838-f355fccb8621 h1:36FLrJRi/zHtimcuU1PJAjQ8ch4ZncZo4w9NL+1w9G0= +github.com/b-harvest/cometbft v0.38.7-0.20240813111838-f355fccb8621/go.mod h1:xOoGZrtUT+A5izWfHSJgl0gYZUE7lu7Z2XIS1vWG/QQ= github.com/b-harvest/ethermint v0.22.0-sdk50-1 h1:SO88tJZcsIMQ8LAnfjvKPM4cHUCEt4cVIpSoxkhDLDA= github.com/b-harvest/ethermint v0.22.0-sdk50-1/go.mod h1:oJHa7P91tmQpDx0rVfEmuSHFBntnsWvMcgjbm11hzaY= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=