bump snarkvm module versions

This commit is contained in:
collin 2021-02-04 13:00:30 -08:00
parent bd2bd1f40f
commit c706ef65b8
7 changed files with 160 additions and 66 deletions

173
Cargo.lock generated
View File

@ -50,9 +50,9 @@ dependencies = [
[[package]]
name = "anyhow"
version = "1.0.37"
version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee67c11feeac938fae061b232e38e0b6d94f97a9df10e6271319325ac4c56a86"
checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1"
[[package]]
name = "arrayref"
@ -277,7 +277,7 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b9434b9a5aa1450faa3f9cb14ea0e8c53bb5d2b3c1bfd1ab4fc03e9f33fbfb0"
dependencies = [
"rustc_version",
"rustc_version 0.2.3",
]
[[package]]
@ -801,9 +801,18 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
[[package]]
name = "futures"
version = "0.1.30"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed"
checksum = "9b3b0c040a1fe6529d30b3c5944b280c7f0dcb2930d2c3062bca967b602583d0"
dependencies = [
"futures-channel",
"futures-core",
"futures-executor",
"futures-io",
"futures-sink",
"futures-task",
"futures-util",
]
[[package]]
name = "futures-channel"
@ -812,6 +821,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b7109687aa4e177ef6fe84553af6280ef2778bdb7783ba44c9dc3399110fe64"
dependencies = [
"futures-core",
"futures-sink",
]
[[package]]
@ -820,12 +830,35 @@ version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "847ce131b72ffb13b6109a221da9ad97a64cbe48feb1028356b836b47b8f1748"
[[package]]
name = "futures-executor"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4caa2b2b68b880003057c1dd49f1ed937e38f22fcf6c212188a121f08cf40a65"
dependencies = [
"futures-core",
"futures-task",
"futures-util",
]
[[package]]
name = "futures-io"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "611834ce18aaa1bd13c4b374f5d653e1027cf99b6b502584ff8c9a64413b30bb"
[[package]]
name = "futures-macro"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77408a692f1f97bcc61dc001d752e00643408fbc922e4d634c655df50d595556"
dependencies = [
"proc-macro-hack",
"proc-macro2 1.0.24",
"quote 1.0.7",
"syn 1.0.60",
]
[[package]]
name = "futures-sink"
version = "0.3.8"
@ -847,12 +880,17 @@ version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d304cff4a7b99cfb7986f7d43fbe93d175e72e704a8860787cc95e9ffd85cbd2"
dependencies = [
"futures-channel",
"futures-core",
"futures-io",
"futures-macro",
"futures-sink",
"futures-task",
"memchr",
"pin-project 1.0.2",
"pin-utils",
"proc-macro-hack",
"proc-macro-nested",
"slab",
]
@ -874,7 +912,7 @@ dependencies = [
"cc",
"libc",
"log",
"rustc_version",
"rustc_version 0.2.3",
"winapi 0.3.9",
]
@ -1197,9 +1235,9 @@ dependencies = [
[[package]]
name = "jsonrpc-core"
version = "14.2.0"
version = "17.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0747307121ffb9703afd93afbd0fb4f854c38fb873f2c8b90e0e902f27c7b62"
checksum = "07569945133257ff557eb37b015497104cea61a2c9edaf126c1cbd6e8332397f"
dependencies = [
"futures",
"log",
@ -1996,6 +2034,50 @@ version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
[[package]]
name = "proc-macro-crate"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
dependencies = [
"toml",
]
[[package]]
name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
"proc-macro-error-attr",
"proc-macro2 1.0.24",
"quote 1.0.7",
"version_check",
]
[[package]]
name = "proc-macro-error-attr"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.7",
"version_check",
]
[[package]]
name = "proc-macro-hack"
version = "0.5.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
[[package]]
name = "proc-macro-nested"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
[[package]]
name = "proc-macro2"
version = "0.4.30"
@ -2261,6 +2343,15 @@ dependencies = [
"semver 0.9.0",
]
[[package]]
name = "rustc_version"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee"
dependencies = [
"semver 0.11.0",
]
[[package]]
name = "rusty-hook"
version = "0.11.2"
@ -2495,20 +2586,20 @@ checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
[[package]]
name = "smallvec"
version = "1.5.1"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae524f056d7d770e174287294f562e95044c68e88dec909a00d2094805db9d75"
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
[[package]]
name = "snarkvm-algorithms"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdc4273884a3c5b1858e9ccb3dd6d7acfa60c0c38bb4876aeeb3181936dbe5f3"
checksum = "ceb01228059c36bb95507d1df131dea4e7b600c87ac26dc66c07a651d8a03f6e"
dependencies = [
"blake2",
"derivative",
"digest 0.8.1",
"itertools 0.9.0",
"itertools 0.10.0",
"rand",
"rand_chacha",
"rayon",
@ -2522,14 +2613,14 @@ dependencies = [
[[package]]
name = "snarkvm-curves"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57c0ab5c370fa0e394acc14474ce0ed162ca673e87ac496e733d402b5c71f177"
checksum = "e7f9bb31389dce334a6c0c5855829afbb1e4469c4c03143e167c5353ccb1e307"
dependencies = [
"derivative",
"rand",
"rand_xorshift",
"rustc_version",
"rustc_version 0.3.3",
"serde",
"snarkvm-errors",
"snarkvm-models",
@ -2538,10 +2629,12 @@ dependencies = [
[[package]]
name = "snarkvm-derives"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b74eecab3b4bbcef183819fb414ad3498b6c962f21a41a2afaf73af2822eec98"
checksum = "1ccaf7047e41bc356a3af8257e9ffe13a5b619c9f51278c019d5201790ddd677"
dependencies = [
"proc-macro-crate",
"proc-macro-error",
"proc-macro2 1.0.24",
"quote 1.0.7",
"syn 1.0.60",
@ -2549,15 +2642,15 @@ dependencies = [
[[package]]
name = "snarkvm-dpc"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a3bbd6dcb0e100d514fa0f8cfb2fd8e0422660d5d816a47409d8111c536dddc"
checksum = "ea20c9a289304d22755ddfc644e164e1232f41ebe016edc8bf7f0007b828b92d"
dependencies = [
"anyhow",
"blake2",
"derivative",
"hex",
"itertools 0.9.0",
"itertools 0.10.0",
"rand",
"snarkvm-algorithms",
"snarkvm-curves",
@ -2572,9 +2665,9 @@ dependencies = [
[[package]]
name = "snarkvm-errors"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7b46326076d2797280a335f6a4c3538e5ba57db37704233e55134b3e1ab2e79"
checksum = "4dcff02240b6b5b36f47953ea9be5c29aef109164b0cebd84e7260ef7bf67f6c"
dependencies = [
"base58",
"bech32",
@ -2589,13 +2682,13 @@ dependencies = [
[[package]]
name = "snarkvm-gadgets"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12ec20358b56a972bf280690ace5e5c1ba809e4cd31d31932f0bd15491f9be0d"
checksum = "e5692f39b5b9351b6584e1f9a2739b13d82e5a4a74a074eb0b743e9d7583fdb5"
dependencies = [
"derivative",
"digest 0.8.1",
"itertools 0.9.0",
"itertools 0.10.0",
"snarkvm-algorithms",
"snarkvm-curves",
"snarkvm-errors",
@ -2605,17 +2698,17 @@ dependencies = [
[[package]]
name = "snarkvm-models"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae6d7532cfc6b888e8566e05e62384c4c7103fa3036555c54b98726fba4bb100"
checksum = "e622885901322b1d2b26c1bc8d94a717df1e83672cbc41a16f2afc4d2702afab"
dependencies = [
"anyhow",
"bincode",
"cfg-if 0.1.10",
"cfg-if 1.0.0",
"derivative",
"fxhash",
"indexmap",
"itertools 0.9.0",
"itertools 0.10.0",
"rand",
"rand_xorshift",
"serde",
@ -2625,9 +2718,9 @@ dependencies = [
[[package]]
name = "snarkvm-objects"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd3ca38c2a7744f4dca2bdae9441da634b06f40f762323c9e361d6a2582f3353"
checksum = "cd47dd986ba53600dd5762c72214250b37af114720dc494770114e9bf8281819"
dependencies = [
"base58",
"bech32",
@ -2647,9 +2740,9 @@ dependencies = [
[[package]]
name = "snarkvm-parameters"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02a6590e3860f1dc78335a2ef498b21cffa4655de4cfb7cc9027d29b1093d887"
checksum = "dd0e2f9bdbce0750aa0def386e4324f278c7e0d58cfbdb42128c03d246c862f4"
dependencies = [
"curl",
"hex",
@ -2661,15 +2754,15 @@ dependencies = [
[[package]]
name = "snarkvm-profiler"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed9ec5eadd049ee06e676070d5402401373fe278a42b515141a9b14ca86a795a"
checksum = "d5f9c37df04e66b18ef0c4a69861eaf1f83170f1e71509e208d6006c20e65b91"
[[package]]
name = "snarkvm-storage"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbf798e9883014175e2f019f019fc4db1756cf7d57408602315b270b93992258"
checksum = "1cb4f7e299b888749224eada35624347e4c99d2e5972c1c416d2d18e005fe23b"
dependencies = [
"anyhow",
"bincode",
@ -2689,9 +2782,9 @@ dependencies = [
[[package]]
name = "snarkvm-utilities"
version = "0.0.2"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d78a4a12c67cc013d6a9574f3231aaf915589cebfd38d27d5f8ad24f1be5794f"
checksum = "e7518dfe2e8dc37beeaf3131ef5c77e4e9818843e6c33e7b665240dc8ec805b1"
dependencies = [
"bincode",
"rand",

View File

@ -67,27 +67,27 @@ path = "./state"
version = "1.2.0"
[dependencies.snarkvm-algorithms]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-curves]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-errors]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-gadgets]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-models]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-utilities]
version = "0.0.2"
version = "0.0.3"
[dependencies.clap]
version = "2.33.3"

View File

@ -50,31 +50,31 @@ path = "../asg"
version = "1.2.0"
[dependencies.snarkvm-curves]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-dpc]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-errors]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-gadgets]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-models]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-objects]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-utilities]
version = "0.0.2"
version = "0.0.3"
[dependencies.bincode]
version = "1.0"
@ -116,7 +116,7 @@ features = [ "v4", "serde" ]
version = "0.3"
[dev-dependencies.snarkvm-algorithms]
version = "0.0.2"
version = "0.0.3"
default-features = false
[features]

View File

@ -18,15 +18,15 @@ license = "GPL-3.0"
edition = "2018"
[dependencies.snarkvm-errors]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-models]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-utilities]
version = "0.0.2"
version = "0.0.3"
[dependencies.rand]
version = "0.7"

View File

@ -20,6 +20,7 @@ use leo_package::{outputs::ProofFile, root::Manifest};
use snarkvm_algorithms::snark::groth16::{Groth16, PreparedVerifyingKey, Proof};
use snarkvm_curves::bls12_377::{Bls12_377, Fr};
use snarkvm_models::algorithms::SNARK;
use snarkvm_utilities::bytes::ToBytes;
use clap::ArgMatches;
use rand::thread_rng;

View File

@ -26,31 +26,31 @@ path = "../ast"
version = "1.2.0"
[dependencies.snarkvm-algorithms]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-curves]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-dpc]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-errors]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-models]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-objects]
version = "0.0.2"
version = "0.0.3"
default-features = false
[dependencies.snarkvm-utilities]
version = "0.0.2"
version = "0.0.3"
[dependencies.indexmap]
version = "1.6.1"
@ -66,4 +66,4 @@ version = "0.2"
version = "1.0"
[dev-dependencies.snarkvm-storage]
version = "0.0.2"
version = "0.0.3"

View File

@ -98,7 +98,7 @@ fn test_generate_values_from_dpc() {
let payload: [u8; 32] = rng.gen();
let old_record = DPC::generate_record(
system_parameters.clone(),
&system_parameters,
sn_nonce,
dummy_account.address,
false,