From 87372da7300d654d07009c9eddc2c9bffe6f4c32 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Thu, 1 Mar 2018 11:54:08 +0400 Subject: [PATCH] return back dummy & persistent_dummy as options for proxy_app --- proxy/client.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxy/client.go b/proxy/client.go index 84efa4f4..6c987368 100644 --- a/proxy/client.go +++ b/proxy/client.go @@ -65,8 +65,12 @@ func (r *remoteClientCreator) NewABCIClient() (abcicli.Client, error) { func DefaultClientCreator(addr, transport, dbDir string) ClientCreator { switch addr { case "kvstore": + fallthrough + case "dummy": return NewLocalClientCreator(kvstore.NewKVStoreApplication()) case "persistent_kvstore": + fallthrough + case "persistent_dummy": return NewLocalClientCreator(kvstore.NewPersistentKVStoreApplication(dbDir)) case "nilapp": return NewLocalClientCreator(types.NewBaseApplication())