From 72543092a072d8eb1ef5b54c6a87c0781eeac36e Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Wed, 30 May 2018 21:15:34 -0700 Subject: [PATCH 1/2] Switch usage of port 46658 to 26658 --- cmd/abci-cli/abci-cli.go | 2 +- example/python/app.py | 2 +- example/python3/app.py | 2 +- tests/client_server_test.go | 2 +- tests/test_app/app.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/abci-cli/abci-cli.go b/cmd/abci-cli/abci-cli.go index 2743fa2..b773c99 100644 --- a/cmd/abci-cli/abci-cli.go +++ b/cmd/abci-cli/abci-cli.go @@ -110,7 +110,7 @@ func Execute() error { } func addGlobalFlags() { - RootCmd.PersistentFlags().StringVarP(&flagAddress, "address", "", "tcp://0.0.0.0:46658", "address of application socket") + RootCmd.PersistentFlags().StringVarP(&flagAddress, "address", "", "tcp://0.0.0.0:26658", "address of application socket") RootCmd.PersistentFlags().StringVarP(&flagAbci, "abci", "", "socket", "either socket or grpc") RootCmd.PersistentFlags().BoolVarP(&flagVerbose, "verbose", "v", false, "print the command and results as if it were a console session") RootCmd.PersistentFlags().StringVarP(&flagLogLevel, "log_level", "", "debug", "set the logger level") diff --git a/example/python/app.py b/example/python/app.py index a44ff34..1c041be 100644 --- a/example/python/app.py +++ b/example/python/app.py @@ -68,7 +68,7 @@ def event(self): if __name__ == '__main__': l = len(sys.argv) if l == 1: - port = 46658 + port = 26658 elif l == 2: port = int(sys.argv[1]) else: diff --git a/example/python3/app.py b/example/python3/app.py index b40041a..9f051b1 100644 --- a/example/python3/app.py +++ b/example/python3/app.py @@ -68,7 +68,7 @@ def event(self): if __name__ == '__main__': l = len(sys.argv) if l == 1: - port = 46658 + port = 26658 elif l == 2: port = int(sys.argv[1]) else: diff --git a/tests/client_server_test.go b/tests/client_server_test.go index 3e1e3e1..1f05c9a 100644 --- a/tests/client_server_test.go +++ b/tests/client_server_test.go @@ -11,7 +11,7 @@ import ( ) func TestClientServerNoAddrPrefix(t *testing.T) { - addr := "localhost:46658" + addr := "localhost:26658" transport := "socket" app := kvstore.NewKVStoreApplication() diff --git a/tests/test_app/app.go b/tests/test_app/app.go index 6145e20..1c308ec 100644 --- a/tests/test_app/app.go +++ b/tests/test_app/app.go @@ -12,7 +12,7 @@ import ( func startClient(abciType string) abcicli.Client { // Start client - client, err := abcicli.NewClient("tcp://127.0.0.1:46658", abciType, true) + client, err := abcicli.NewClient("tcp://127.0.0.1:26658", abciType, true) if err != nil { panic(err.Error()) } From 1eeebabb0b221995c95a8876b41c09c5bcc699b8 Mon Sep 17 00:00:00 2001 From: Alexander Simmerl Date: Wed, 13 Jun 2018 01:20:21 +0200 Subject: [PATCH 2/2] Update version and changelog --- CHANGELOG.md | 9 +++++++++ version/version.go | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84c5716..63de0bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.12.0 + +*2018-06-12* + +BREAKING CHANGES: + +- [abci-cli] Change rpc port from 46658 to 26658. +- [examples] Change rpc port from 46658 to 26658. + ## 0.11.0 *June 6, 2018* diff --git a/version/version.go b/version/version.go index e813a01..7223a86 100644 --- a/version/version.go +++ b/version/version.go @@ -3,7 +3,7 @@ package version // NOTE: we should probably be versioning the ABCI and the abci-cli separately const Maj = "0" -const Min = "11" +const Min = "12" const Fix = "0" -const Version = "0.11.0" +const Version = "0.12.0"