mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
Refactored the SonrApp struct by reorganizing and grouping the keepers and other fields.
This commit is contained in:
committed by
Prad Nukala (aider)
parent
f6b04e1599
commit
6c1c3d5f8f
+2
-3
@@ -22,7 +22,6 @@ import (
|
||||
|
||||
"github.com/onsonr/hway/app"
|
||||
"github.com/onsonr/hway/app/params"
|
||||
"github.com/onsonr/hway/internal/env"
|
||||
// NewRootCmd creates a new root command for chain app. It is called once in the
|
||||
// main function.
|
||||
)
|
||||
@@ -100,8 +99,8 @@ func NewRootCmd() *cobra.Command {
|
||||
}
|
||||
|
||||
// Set the context chain ID and validator address
|
||||
env.SetLocalChainID(initClientCtx.ChainID)
|
||||
env.SetLocalValidatorAddress(initClientCtx.FromAddress.String())
|
||||
app.SetLocalChainID(initClientCtx.ChainID)
|
||||
app.SetLocalValidatorAddress(initClientCtx.FromAddress.String())
|
||||
|
||||
customAppTemplate, customAppConfig := initAppConfig()
|
||||
customCMTConfig := initCometBFTConfig()
|
||||
|
||||
Reference in New Issue
Block a user