From 68bc79530344f53f6268f59d33c07c03b8be5f67 Mon Sep 17 00:00:00 2001 From: jorgeantonio21 Date: Tue, 15 Nov 2022 19:46:03 +0000 Subject: [PATCH] first commit --- Cargo.lock | 16 ++++++++++++++-- applications/tari_app_grpc/Cargo.toml | 2 +- applications/tari_app_utilities/Cargo.toml | 2 +- applications/tari_base_node/Cargo.toml | 2 +- applications/tari_console_wallet/Cargo.toml | 2 +- applications/tari_merge_mining_proxy/Cargo.toml | 2 +- applications/tari_miner/Cargo.toml | 2 +- base_layer/common_types/Cargo.toml | 2 +- base_layer/core/Cargo.toml | 2 +- base_layer/key_manager/Cargo.toml | 2 +- base_layer/mmr/Cargo.toml | 2 +- base_layer/p2p/Cargo.toml | 2 +- base_layer/tari_mining_helper_ffi/Cargo.toml | 2 +- base_layer/wallet/Cargo.toml | 2 +- base_layer/wallet_ffi/Cargo.toml | 2 +- common/Cargo.toml | 2 +- comms/core/Cargo.toml | 2 +- comms/dht/Cargo.toml | 2 +- infrastructure/tari_script/Cargo.toml | 2 +- 19 files changed, 32 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f944c83b16..3ab11e9011 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3977,6 +3977,17 @@ dependencies = [ "serde", ] +[[package]] +name = "serde-wasm-bindgen" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cfc62771e7b829b517cb213419236475f434fb480eddd76112ae182d274434a" +dependencies = [ + "js-sys", + "serde", + "wasm-bindgen", +] + [[package]] name = "serde_cbor" version = "0.11.2" @@ -4746,8 +4757,8 @@ dependencies = [ [[package]] name = "tari_crypto" -version = "0.15.7" -source = "git+https://github.com/tari-project/tari-crypto.git?tag=v0.15.7#bd66b3d2021bf0b391d50f1ba8db339a62231738" +version = "0.16.0" +source = "git+https://github.com/tari-project/tari-crypto.git?tag=v0.16.0#8f3bce7ed1ece78d58c90ba9abda59cbfa0863f6" dependencies = [ "base64 0.10.1", "blake2 0.9.2", @@ -4761,6 +4772,7 @@ dependencies = [ "once_cell", "rand 0.7.3", "serde", + "serde-wasm-bindgen", "serde_json", "sha3", "tari_bulletproofs", diff --git a/applications/tari_app_grpc/Cargo.toml b/applications/tari_app_grpc/Cargo.toml index 63e8da20d6..45e6643566 100644 --- a/applications/tari_app_grpc/Cargo.toml +++ b/applications/tari_app_grpc/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" tari_common_types = { version = "^0.39", path = "../../base_layer/common_types" } tari_comms = { path = "../../comms/core" } tari_core = { path = "../../base_layer/core" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_script = { path = "../../infrastructure/tari_script" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } diff --git a/applications/tari_app_utilities/Cargo.toml b/applications/tari_app_utilities/Cargo.toml index c3c76d18a8..3142a36754 100644 --- a/applications/tari_app_utilities/Cargo.toml +++ b/applications/tari_app_utilities/Cargo.toml @@ -7,7 +7,7 @@ license = "BSD-3-Clause" [dependencies] tari_comms = { path = "../../comms/core" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_common = { path = "../../common" } tari_common_types = { path = "../../base_layer/common_types" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } diff --git a/applications/tari_base_node/Cargo.toml b/applications/tari_base_node/Cargo.toml index fa625485e2..0b10d73ec1 100644 --- a/applications/tari_base_node/Cargo.toml +++ b/applications/tari_base_node/Cargo.toml @@ -15,7 +15,7 @@ tari_comms = { path = "../../comms/core", features = ["rpc"] } tari_common_types = { path = "../../base_layer/common_types" } tari_comms_dht = { path = "../../comms/dht" } tari_core = { path = "../../base_layer/core", default-features = false, features = ["transactions"] } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_libtor = { path = "../../infrastructure/libtor", optional = true } tari_mmr = { path = "../../base_layer/mmr", features = ["native_bitmap"] } tari_p2p = { path = "../../base_layer/p2p", features = ["auto-update"] } diff --git a/applications/tari_console_wallet/Cargo.toml b/applications/tari_console_wallet/Cargo.toml index a6c2752718..90ecc4e402 100644 --- a/applications/tari_console_wallet/Cargo.toml +++ b/applications/tari_console_wallet/Cargo.toml @@ -7,7 +7,7 @@ license = "BSD-3-Clause" [dependencies] tari_wallet = { path = "../../base_layer/wallet", features = ["bundled_sqlite"] } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_common = { path = "../../common" } tari_app_utilities = { path = "../tari_app_utilities" } tari_comms = { path = "../../comms/core" } diff --git a/applications/tari_merge_mining_proxy/Cargo.toml b/applications/tari_merge_mining_proxy/Cargo.toml index 54cf3b85ea..a82842d3dd 100644 --- a/applications/tari_merge_mining_proxy/Cargo.toml +++ b/applications/tari_merge_mining_proxy/Cargo.toml @@ -15,7 +15,7 @@ tari_common = { path = "../../common" } tari_comms = { path = "../../comms/core" } tari_core = { path = "../../base_layer/core", default-features = false, features = ["transactions"] } tari_app_utilities = { path = "../tari_app_utilities" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } tari_base_node_grpc_client = {path="../../clients/rust/base_node_grpc_client" } tari_wallet_grpc_client = {path="../../clients/rust/wallet_grpc_client" } diff --git a/applications/tari_miner/Cargo.toml b/applications/tari_miner/Cargo.toml index c30372421a..85c01c495e 100644 --- a/applications/tari_miner/Cargo.toml +++ b/applications/tari_miner/Cargo.toml @@ -14,7 +14,7 @@ tari_common_types = { path = "../../base_layer/common_types" } tari_comms = { path = "../../comms/core" } tari_app_utilities = { path = "../tari_app_utilities" } tari_app_grpc = { path = "../tari_app_grpc" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } crossterm = { version = "0.25.0" } diff --git a/base_layer/common_types/Cargo.toml b/base_layer/common_types/Cargo.toml index 48fa9857e2..d42e15332d 100644 --- a/base_layer/common_types/Cargo.toml +++ b/base_layer/common_types/Cargo.toml @@ -7,7 +7,7 @@ version = "0.39.0" edition = "2018" [dependencies] -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } tari_common = { version = "^0.39", path = "../../common" } diff --git a/base_layer/core/Cargo.toml b/base_layer/core/Cargo.toml index 846893dce6..fdfe8addb1 100644 --- a/base_layer/core/Cargo.toml +++ b/base_layer/core/Cargo.toml @@ -24,7 +24,7 @@ tari_common_types = { version = "^0.39", path = "../../base_layer/common_types" tari_comms = { version = "^0.39", path = "../../comms/core" } tari_comms_dht = { version = "^0.39", path = "../../comms/dht" } tari_comms_rpc_macros = { version = "^0.39", path = "../../comms/rpc_macros" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_metrics = { path = "../../infrastructure/metrics" } tari_mmr = { version = "^0.39", path = "../../base_layer/mmr", optional = true, features = ["native_bitmap"] } tari_p2p = { version = "^0.39", path = "../../base_layer/p2p" } diff --git a/base_layer/key_manager/Cargo.toml b/base_layer/key_manager/Cargo.toml index 3879dae20c..2eaf280371 100644 --- a/base_layer/key_manager/Cargo.toml +++ b/base_layer/key_manager/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["lib", "cdylib"] # NB: All dependencies must support or be gated for the WASM target. [dependencies] tari_common_types = { version = "^0.39", path = "../../base_layer/common_types", optional = true } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } argon2 = { version = "0.4.1", features = ["std", "alloc"] } diff --git a/base_layer/mmr/Cargo.toml b/base_layer/mmr/Cargo.toml index 8825e65618..8e819d425a 100644 --- a/base_layer/mmr/Cargo.toml +++ b/base_layer/mmr/Cargo.toml @@ -14,7 +14,7 @@ benches = ["criterion"] [dependencies] tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_common = {path = "../../common"} thiserror = "1.0.26" digest = "0.9.0" diff --git a/base_layer/p2p/Cargo.toml b/base_layer/p2p/Cargo.toml index 9c7b4a3565..c07f9322b7 100644 --- a/base_layer/p2p/Cargo.toml +++ b/base_layer/p2p/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" tari_comms = { version = "^0.39", path = "../../comms/core" } tari_comms_dht = { version = "^0.39", path = "../../comms/dht" } tari_common = { version = "^0.39", path = "../../common" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_service_framework = { version = "^0.39", path = "../service_framework" } tari_shutdown = { version = "^0.39", path = "../../infrastructure/shutdown" } tari_storage = { version = "^0.39", path = "../../infrastructure/storage" } diff --git a/base_layer/tari_mining_helper_ffi/Cargo.toml b/base_layer/tari_mining_helper_ffi/Cargo.toml index 9fe113f653..bc47f5bcbb 100644 --- a/base_layer/tari_mining_helper_ffi/Cargo.toml +++ b/base_layer/tari_mining_helper_ffi/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies] tari_comms = { version = "^0.39", path = "../../comms/core" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_common = { path = "../../common" } tari_core = { path = "../core", default-features = false, features = ["transactions"]} tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } diff --git a/base_layer/wallet/Cargo.toml b/base_layer/wallet/Cargo.toml index 13594ebe99..429129cfe6 100644 --- a/base_layer/wallet/Cargo.toml +++ b/base_layer/wallet/Cargo.toml @@ -12,7 +12,7 @@ tari_common = { path = "../../common" } tari_common_types = { version = "^0.39", path = "../../base_layer/common_types" } tari_comms = { version = "^0.39", path = "../../comms/core" } tari_comms_dht = { version = "^0.39", path = "../../comms/dht" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_key_manager = { version = "^0.39", path = "../key_manager" } tari_p2p = { version = "^0.39", path = "../p2p", features = ["auto-update"] } tari_script = { path = "../../infrastructure/tari_script" } diff --git a/base_layer/wallet_ffi/Cargo.toml b/base_layer/wallet_ffi/Cargo.toml index 9a7e980b81..8c4d23f49a 100644 --- a/base_layer/wallet_ffi/Cargo.toml +++ b/base_layer/wallet_ffi/Cargo.toml @@ -12,7 +12,7 @@ tari_common = {path="../../common"} tari_common_types = {path="../common_types"} tari_comms = { version = "^0.39", path = "../../comms/core", features = ["c_integration"]} tari_comms_dht = { version = "^0.39", path = "../../comms/dht", default-features = false } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_key_manager = { version = "^0.39", path = "../key_manager" } tari_p2p = { version = "^0.39", path = "../p2p" } tari_script = { path = "../../infrastructure/tari_script" } diff --git a/common/Cargo.toml b/common/Cargo.toml index 5e70bc587a..6dfb3fa93b 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -14,7 +14,7 @@ build = ["toml", "prost-build"] static-application-info = ["git2"] [dependencies] -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } anyhow = "1.0.53" config = { version = "0.13.0", default_features = false, features = ["toml"] } diff --git a/comms/core/Cargo.toml b/comms/core/Cargo.toml index 29afaae193..47e7082653 100644 --- a/comms/core/Cargo.toml +++ b/comms/core/Cargo.toml @@ -10,7 +10,7 @@ version = "0.39.0" edition = "2018" [dependencies] -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_common = {path = "../../common"} tari_metrics = { path = "../../infrastructure/metrics" } tari_storage = { version = "^0.39", path = "../../infrastructure/storage" } diff --git a/comms/dht/Cargo.toml b/comms/dht/Cargo.toml index f0ebe28e72..2f51d72134 100644 --- a/comms/dht/Cargo.toml +++ b/comms/dht/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" tari_comms = { version = "^0.39", path = "../core", features = ["rpc"] } tari_common = { path = "../../common" } tari_comms_rpc_macros = { version = "^0.39", path = "../rpc_macros" } -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } tari_shutdown = { version = "^0.39", path = "../../infrastructure/shutdown" } tari_storage = { version = "^0.39", path = "../../infrastructure/storage" } diff --git a/infrastructure/tari_script/Cargo.toml b/infrastructure/tari_script/Cargo.toml index 17d8586260..c0078082e2 100644 --- a/infrastructure/tari_script/Cargo.toml +++ b/infrastructure/tari_script/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" license = "BSD-3-Clause" [dependencies] -tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.7" } +tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.16.0" } tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" } blake2 = "0.9"