Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove cheqd-noded configure command from node [DEV-1902] #449

Merged
merged 15 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
337 changes: 0 additions & 337 deletions cmd/cheqd-noded/cmd/configure.go

This file was deleted.

7 changes: 5 additions & 2 deletions cmd/cheqd-noded/cmd/init_extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,23 @@ func applyConfigDefaults(cmd *cobra.Command) error {
clientCtx := client.GetClientContextFromCmd(cmd)

err := updateTmConfig(clientCtx.HomeDir, func(config *tmcfg.Config) {
config.Consensus.CreateEmptyBlocks = false
config.FastSync.Version = "v0"
config.LogFormat = "json"
config.LogLevel = "error"
config.P2P.SendRate = 20000000
config.P2P.RecvRate = 20000000
config.P2P.MaxPacketMsgPayloadSize = 10240

// Workaroud for Tendermint's bug
// Workaround for Tendermint's bug
config.Storage = tmcfg.DefaultStorageConfig()
})
if err != nil {
return err
}

err = updateCosmConfig(clientCtx.HomeDir, func(config *cosmcfg.Config) {
config.BaseConfig.MinGasPrices = "25ncheq"
config.BaseConfig.MinGasPrices = "50ncheq"
})
if err != nil {
return err
Expand Down
Loading