mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 11:41:39 +00:00
Config is passed into each module. Remove tendermint/confer
This commit is contained in:
15
test/init.go
Normal file
15
test/init.go
Normal file
@ -0,0 +1,15 @@
|
||||
// Import this in all *_test.go files to initialize ~/.tendermint_test.
|
||||
// TODO: Reset each time?
|
||||
|
||||
package test
|
||||
|
||||
import (
|
||||
cfg "github.com/tendermint/tendermint/config"
|
||||
tmcfg "github.com/tendermint/tendermint/config/tendermint_test"
|
||||
)
|
||||
|
||||
func init() {
|
||||
// Creates ~/.tendermint_test/*
|
||||
config := tmcfg.GetConfig("")
|
||||
cfg.ApplyConfig(config)
|
||||
}
|
Reference in New Issue
Block a user