Skip to content

Commit

Permalink
Revert "Some secretd init settings"
Browse files Browse the repository at this point in the history
This reverts commit 3f940d4.
  • Loading branch information
assafmo committed Oct 17, 2022
1 parent 17cf30a commit 93cd444
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions cmd/secretd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ func initAppConfig() (string, interface{}) {
srvCfg.API.Enable = true
srvCfg.API.Swagger = true
srvCfg.API.EnableUnsafeCORS = true
srvCfg.GRPCWeb.EnableUnsafeCORS = true
srvCfg.IAVLCacheSize = 781_250
srvCfg.IAVLDisableFastNode = false

secretAppConfig := SecretAppConfig{
Config: *srvCfg,
Expand Down
1 change: 0 additions & 1 deletion cmd/secretd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command {
config.Mempool.Size = 10000
config.StateSync.TrustPeriod = 112 * time.Hour
config.FastSync.Version = "v0"


// Get bip39 mnemonic
var mnemonic string
Expand Down
2 changes: 0 additions & 2 deletions cmd/secretd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,6 @@ func newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts serverty
baseapp.SetSnapshotStore(snapshotStore),
baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval))),
baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent))),
baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))),
baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(server.FlagIAVLFastNode))),
)
}

Expand Down

0 comments on commit 93cd444

Please sign in to comment.