TestBaseConfig returns a base configuration for testing a Tendermint node
()
| 250 | |
| 251 | // TestBaseConfig returns a base configuration for testing a Tendermint node |
| 252 | func 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 | |
| 261 | func (cfg BaseConfig) ChainID() string { |
| 262 | return cfg.chainID |
no test coverage detected