From ff878c4f8efb523213c4576091c99d331222670d Mon Sep 17 00:00:00 2001
From: yeastplume <yeastplume@protonmail.com>
Date: Mon, 21 Mar 2022 10:51:07 +0000
Subject: [PATCH] update version numbers for build

---
 Cargo.lock            | 54 +++++++++++++++++++++++++------------------
 Cargo.toml            | 14 +++++------
 api/Cargo.toml        | 10 ++++----
 config/Cargo.toml     |  4 ++--
 controller/Cargo.toml | 12 +++++-----
 impls/Cargo.toml      |  8 +++----
 libwallet/Cargo.toml  |  6 ++---
 util/Cargo.toml       | 26 ++++++++++-----------
 8 files changed, 71 insertions(+), 63 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 8a307988..182ab137 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1258,8 +1258,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
 
 [[package]]
 name = "grin_api"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da268fbd0150cb77b121e22435dd920516bd17d1d3d566d291cf914218e1902c"
 dependencies = [
  "bytes 0.5.6",
  "easy-jsonrpc-mw",
@@ -1291,8 +1292,9 @@ dependencies = [
 
 [[package]]
 name = "grin_chain"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "125c3a424b3bb2730965dcba2be6889a028717a3acf1941f1aa95be3937354da"
 dependencies = [
  "bit-vec",
  "bitflags 1.3.2",
@@ -1315,8 +1317,9 @@ dependencies = [
 
 [[package]]
 name = "grin_core"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff261d0141bce01e68413a783cd1d34630f5fca8b0958a057c83de7fde786673"
 dependencies = [
  "blake2-rfc",
  "byteorder",
@@ -1342,8 +1345,9 @@ dependencies = [
 
 [[package]]
 name = "grin_keychain"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d3a59a5bd95c9bdc6ed6b69b4289f135efd5df7e879fd6b1dd2b76650cdf657"
 dependencies = [
  "blake2-rfc",
  "byteorder",
@@ -1364,8 +1368,9 @@ dependencies = [
 
 [[package]]
 name = "grin_p2p"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d6216ab944d72967529aba141b48699b8080e063f5ae8b0f9e25e6ae6ce2915"
 dependencies = [
  "bitflags 1.3.2",
  "bytes 0.5.6",
@@ -1386,8 +1391,9 @@ dependencies = [
 
 [[package]]
 name = "grin_pool"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92b84dc4dd654ab0e6c37f4c445b574bf907d676568d5fb1383384f6ca386c28"
 dependencies = [
  "blake2-rfc",
  "chrono",
@@ -1420,8 +1426,9 @@ dependencies = [
 
 [[package]]
 name = "grin_store"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24a7201e07d68eae329c08f40853a7a17491ec31ad488b6725af0b4c594a60bd"
 dependencies = [
  "byteorder",
  "croaring",
@@ -1440,8 +1447,9 @@ dependencies = [
 
 [[package]]
 name = "grin_util"
-version = "5.2.0-alpha.1"
-source = "git+https://github.com/mimblewimble/grin?branch=master#78c9794d30c21d40a24f255c411e04f3eab5d512"
+version = "5.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6b9e8230eb30b717ebaef3f238c8defbab08c232f42dc5445c9f01a1b18c98b"
 dependencies = [
  "backtrace",
  "base64 0.12.3",
@@ -1461,7 +1469,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "built",
  "clap",
@@ -1490,7 +1498,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet_api"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "base64 0.12.3",
  "chrono",
@@ -1514,7 +1522,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet_config"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "dirs 2.0.2",
  "grin_wallet_util",
@@ -1527,7 +1535,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet_controller"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "chrono",
  "easy-jsonrpc-mw",
@@ -1558,7 +1566,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet_impls"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "base64 0.12.3",
  "blake2-rfc",
@@ -1592,7 +1600,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet_libwallet"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "age",
  "base64 0.9.3",
@@ -1624,7 +1632,7 @@ dependencies = [
 
 [[package]]
 name = "grin_wallet_util"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 dependencies = [
  "data-encoding",
  "ed25519-dalek",
diff --git a/Cargo.toml b/Cargo.toml
index 29a23798..b624af6c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
 license = "Apache-2.0"
@@ -31,13 +31,13 @@ semver = "0.10"
 rustyline = "6"
 lazy_static = "1"
 
-grin_wallet_api = { path = "./api", version = "5.1.0-alpha.1" }
-grin_wallet_impls = { path = "./impls", version = "5.1.0-alpha.1" }
-grin_wallet_libwallet = { path = "./libwallet", version = "5.1.0-alpha.1" }
-grin_wallet_controller = { path = "./controller", version = "5.1.0-alpha.1" }
-grin_wallet_config = { path = "./config", version = "5.1.0-alpha.1" }
+grin_wallet_api = { path = "./api", version = "5.1.0" }
+grin_wallet_impls = { path = "./impls", version = "5.1.0" }
+grin_wallet_libwallet = { path = "./libwallet", version = "5.1.0" }
+grin_wallet_controller = { path = "./controller", version = "5.1.0" }
+grin_wallet_config = { path = "./config", version = "5.1.0" }
 
-grin_wallet_util = { path = "./util", version = "5.1.0-alpha.1" }
+grin_wallet_util = { path = "./util", version = "5.1.0" }
 
 [build-dependencies]
 built = { version = "0.4", features = ["git2"]}
diff --git a/api/Cargo.toml b/api/Cargo.toml
index 7bf42e5e..a2f1c437 100644
--- a/api/Cargo.toml
+++ b/api/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet_api"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Grin Wallet API"
 license = "Apache-2.0"
@@ -24,10 +24,10 @@ ring = "0.16"
 base64 = "0.12"
 ed25519-dalek = "1.0.0-pre.4"
 
-grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0-alpha.1" }
-grin_wallet_config = { path = "../config", version = "5.1.0-alpha.1" }
-grin_wallet_impls = { path = "../impls", version = "5.1.0-alpha.1" }
-grin_wallet_util = { path = "../util", version = "5.1.0-alpha.1" }
+grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0" }
+grin_wallet_config = { path = "../config", version = "5.1.0" }
+grin_wallet_impls = { path = "../impls", version = "5.1.0" }
+grin_wallet_util = { path = "../util", version = "5.1.0" }
 
 [dev-dependencies]
 serde_json = "1"
diff --git a/config/Cargo.toml b/config/Cargo.toml
index 77055b9c..2aa2725f 100644
--- a/config/Cargo.toml
+++ b/config/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet_config"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Configuration for grin wallet , a simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
 license = "Apache-2.0"
@@ -16,7 +16,7 @@ serde_derive = "1"
 toml = "0.5"
 dirs = "2.0"
 
-grin_wallet_util = { path = "../util", version = "5.1.0-alpha.1" }
+grin_wallet_util = { path = "../util", version = "5.1.0" }
 
 [dev-dependencies]
 pretty_assertions = "0.6"
diff --git a/controller/Cargo.toml b/controller/Cargo.toml
index 35796a97..3aeb361a 100644
--- a/controller/Cargo.toml
+++ b/controller/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet_controller"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Controllers for grin wallet instantiation"
 license = "Apache-2.0"
@@ -30,12 +30,12 @@ chrono = { version = "0.4.11", features = ["serde"] }
 easy-jsonrpc-mw = "0.5.4"
 lazy_static = "1"
 
-grin_wallet_util = { path = "../util", version = "5.1.0-alpha.1" }
+grin_wallet_util = { path = "../util", version = "5.1.0" }
 
-grin_wallet_api = { path = "../api", version = "5.1.0-alpha.1" }
-grin_wallet_impls = { path = "../impls", version = "5.1.0-alpha.1" }
-grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0-alpha.1" }
-grin_wallet_config = { path = "../config", version = "5.1.0-alpha.1" }
+grin_wallet_api = { path = "../api", version = "5.1.0" }
+grin_wallet_impls = { path = "../impls", version = "5.1.0" }
+grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0" }
+grin_wallet_config = { path = "../config", version = "5.1.0" }
 
 [dev-dependencies]
 ed25519-dalek = "1.0.0-pre.4"
diff --git a/impls/Cargo.toml b/impls/Cargo.toml
index fe544e34..0f1665d6 100644
--- a/impls/Cargo.toml
+++ b/impls/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet_impls"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Concrete types derived from libwallet traits"
 license = "Apache-2.0"
@@ -37,9 +37,9 @@ sysinfo = "0.14"
 base64 = "0.12.0"
 url = "2.1"
 
-grin_wallet_util = { path = "../util", version = "5.1.0-alpha.1" }
-grin_wallet_config = { path = "../config", version = "5.1.0-alpha.1" }
-grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0-alpha.1" }
+grin_wallet_util = { path = "../util", version = "5.1.0" }
+grin_wallet_config = { path = "../config", version = "5.1.0" }
+grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0" }
 
 [dev-dependencies]
 "remove_dir_all" = "0.7"
\ No newline at end of file
diff --git a/libwallet/Cargo.toml b/libwallet/Cargo.toml
index 0f6b1caa..0d834e1b 100644
--- a/libwallet/Cargo.toml
+++ b/libwallet/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet_libwallet"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
 license = "Apache-2.0"
@@ -36,6 +36,6 @@ secrecy = "0.6"
 bech32 = "0.7"
 byteorder = "1.3"
 
-grin_wallet_util = { path = "../util", version = "5.1.0-alpha.1" }
-grin_wallet_config = { path = "../config", version = "5.1.0-alpha.1" }
+grin_wallet_util = { path = "../util", version = "5.1.0" }
+grin_wallet_config = { path = "../config", version = "5.1.0" }
 
diff --git a/util/Cargo.toml b/util/Cargo.toml
index db1e9e40..2df7b557 100644
--- a/util/Cargo.toml
+++ b/util/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "grin_wallet_util"
-version = "5.1.0-alpha.1"
+version = "5.1.0"
 authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
 description = "Util, for generic utilities and to re-export grin crates"
 license = "Apache-2.0"
@@ -18,12 +18,12 @@ data-encoding = "2"
 sha3 = "0.8"
 
 # For Release
-#grin_core = "4.0.0"
-#grin_keychain = "4.0.0"
-#grin_chain = "4.0.0"
-#grin_util = "4.0.0"
-#grin_api = "4.0.0"
-#grin_store = "4.0.0"
+grin_core = "5.1.2"
+grin_keychain = "5.1.2"
+grin_chain = "5.1.2"
+grin_util = "5.1.2"
+grin_api = "5.1.2"
+grin_store = "5.1.2"
 
 # For beta release
 
@@ -35,12 +35,12 @@ sha3 = "0.8"
 # grin_store = { git = "https://github.com/mimblewimble/grin", tag = "v5.0.0-beta.2" }
 
 # For bleeding edge
-grin_core = { git = "https://github.com/mimblewimble/grin", branch = "master" }
-grin_keychain = { git = "https://github.com/mimblewimble/grin", branch = "master" }
-grin_chain = { git = "https://github.com/mimblewimble/grin", branch = "master" }
-grin_util = { git = "https://github.com/mimblewimble/grin", branch = "master" }
-grin_api = { git = "https://github.com/mimblewimble/grin", branch = "master" }
-grin_store = { git = "https://github.com/mimblewimble/grin", branch = "master" }
+# grin_core = { git = "https://github.com/mimblewimble/grin", branch = "master" }
+# grin_keychain = { git = "https://github.com/mimblewimble/grin", branch = "master" }
+# grin_chain = { git = "https://github.com/mimblewimble/grin", branch = "master" }
+# grin_util = { git = "https://github.com/mimblewimble/grin", branch = "master" }
+# grin_api = { git = "https://github.com/mimblewimble/grin", branch = "master" }
+# grin_store = { git = "https://github.com/mimblewimble/grin", branch = "master" }
 
 # For local testing
 # grin_core = { path = "../../grin/core"}