MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / TestBaseConfig

Function TestBaseConfig

config/config.go:252–259  ·  view source on GitHub ↗

TestBaseConfig returns a base configuration for testing a Tendermint node

()

Source from the content-addressed store, hash-verified

250
251// TestBaseConfig returns a base configuration for testing a Tendermint node
252func TestBaseConfig() BaseConfig {
253 cfg := DefaultBaseConfig()
254 cfg.chainID = "linkis_test"
255 cfg.ProxyApp = "kvstore"
256 cfg.FastSyncMode = false
257 cfg.DBBackend = "memdb"
258 return cfg
259}
260
261func (cfg BaseConfig) ChainID() string {
262 return cfg.chainID

Callers 2

TestConfigFunction · 0.85

Calls 1

DefaultBaseConfigFunction · 0.85

Tested by

no test coverage detected