From 831e10f15d36462b8524e4f520f97fc9c4bf6ddf Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 19 Feb 2018 20:43:36 +0000 Subject: [PATCH] finish the job, dummy --- README.md | 6 +++--- example/example_test.go | 2 +- example/kvstore/helpers.go | 2 +- tests/test_cli/test.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e733dea71..ed382930b 100644 --- a/README.md +++ b/README.md @@ -133,10 +133,10 @@ func cmdKVStore(cmd *cobra.Command, args []string) error { // Create the application - in memory or persisted to disk var app types.Application if flagPersist == "" { - app = dummy.NewKVStoreApplication() + app = kvstore.NewKVStoreApplication() } else { - app = dummy.NewPersistentKVStoreApplication(flagPersist) - app.(*dummy.PersistentKVStoreApplication).SetLogger(logger.With("module", "kvstore")) + app = kvstore.NewPersistentKVStoreApplication(flagPersist) + app.(*kvstore.PersistentKVStoreApplication).SetLogger(logger.With("module", "kvstore")) } // Start the listener diff --git a/example/example_test.go b/example/example_test.go index 513c28799..3fc38f492 100644 --- a/example/example_test.go +++ b/example/example_test.go @@ -23,7 +23,7 @@ import ( func TestKVStore(t *testing.T) { fmt.Println("### Testing KVStore") - testStream(t, dummy.NewKVStoreApplication()) + testStream(t, kvstore.NewKVStoreApplication()) } func TestBaseApp(t *testing.T) { diff --git a/example/kvstore/helpers.go b/example/kvstore/helpers.go index 154d33ebc..c71e371a9 100644 --- a/example/kvstore/helpers.go +++ b/example/kvstore/helpers.go @@ -25,7 +25,7 @@ func RandVals(cnt int) []types.Validator { return res } -// InitKVStore initializes the dummy app with some data, +// InitKVStore initializes the kvstore app with some data, // which allows tests to pass and is fine as long as you // don't make any tx that modify the validator state func InitKVStore(app *PersistentKVStoreApplication) { diff --git a/tests/test_cli/test.sh b/tests/test_cli/test.sh index ccbb313c5..ce074f513 100755 --- a/tests/test_cli/test.sh +++ b/tests/test_cli/test.sh @@ -35,7 +35,7 @@ function testExample() { rm "${INPUT}".out.new } -testExample 1 tests/test_cli/ex1.abci abci-cli dummy +testExample 1 tests/test_cli/ex1.abci abci-cli kvstore testExample 2 tests/test_cli/ex2.abci abci-cli counter echo ""