diff --git a/core/config.go b/core/config.go index ce8996f7417f82193d33ba780ec4e16c748a2d85..8a39f9208f75ca85b03c5f9c690d6f78c94de925 100644 --- a/core/config.go +++ b/core/config.go @@ -54,7 +54,7 @@ func loadModuleConfigFromDo(do *definitions.Do, module string) (*config.ModuleCo func LoadModuleConfig(conf *viper.Viper, rootWorkDir, rootDataDir, genesisFile, chainId, module string) (*config.ModuleConfig, error) { moduleName := conf.GetString("chain." + module + ".name") - fmt.Println(moduleName) + fmt.Println(conf) majorVersion := conf.GetInt("chain." + module + ".major_version") minorVersion := conf.GetInt("chain." + module + ".minor_version") minorVersionString := version.MakeMinorVersionString(moduleName, majorVersion, diff --git a/rpc/tendermint/test/common_test.go b/rpc/tendermint/test/common_test.go index 6ff7ae9f4017c6973ec843de44b31890d6d76e5c..bc0ca59bbb293dbc999324142a46e936f44e71da 100644 --- a/rpc/tendermint/test/common_test.go +++ b/rpc/tendermint/test/common_test.go @@ -9,6 +9,7 @@ import ( // Needs to be in a _test.go file to be picked up func TestMain(m *testing.M) { ffs := fixtures.NewFileFixtures() + defer ffs.RemoveAll() initGlobalVariables(ffs) @@ -16,17 +17,16 @@ func TestMain(m *testing.M) { panic(ffs.Error) } - defer ffs.RemoveAll() - saveNewPriv() + // start a node + ready := make(chan struct{}) go newNode(ready) <-ready returnValue := m.Run() - // start a node os.Exit(returnValue) }