diff --git a/Cargo.lock b/Cargo.lock index 2a96a954..e811957c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -579,7 +579,27 @@ dependencies = [ "async-std", "async-trait", "color-eyre", - "console-subscriber", + "console-subscriber 0.1.10", + "flume 0.11.0", + "futures", + "tokio", + "tokio-stream", + "tracing", + "tracing-error", + "tracing-subscriber", +] + +[[package]] +name = "async-compatibility-layer" +version = "1.0.0" +source = "git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2#482cece7d27f20d5a543e209a5d88b1837778b4c" +dependencies = [ + "async-channel 1.9.0", + "async-lock 2.8.0", + "async-std", + "async-trait", + "color-eyre", + "console-subscriber 0.2.0", "flume 0.11.0", "futures", "tokio", @@ -831,6 +851,28 @@ dependencies = [ "socket2 0.5.6", ] +[[package]] +name = "async-stream" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] + [[package]] name = "async-task" version = "4.7.0" @@ -1335,7 +1377,7 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "commit" version = "0.2.2" -source = "git+https://github.com/EspressoSystems/commit.git#dd9f16e084d45e9ea52459c776f5fdcb6b000889" +source = "git+https://github.com/EspressoSystems/commit.git#30679718efd4ecf870b66950160077125dcb8d93" dependencies = [ "arbitrary", "ark-serialize", @@ -1383,9 +1425,22 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2895653b4d9f1538a83970077cb01dfc77a4810524e51a110944688e916b18e" dependencies = [ - "prost", - "prost-types", - "tonic", + "prost 0.11.9", + "prost-types 0.11.9", + "tonic 0.9.2", + "tracing-core", +] + +[[package]] +name = "console-api" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd326812b3fd01da5bb1af7d340d0d555fd3d4b641e7f1dfcf5962a902952787" +dependencies = [ + "futures-core", + "prost 0.12.3", + "prost-types 0.12.3", + "tonic 0.10.2", "tracing-core", ] @@ -1395,19 +1450,43 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4cf42660ac07fcebed809cfe561dd8730bcd35b075215e6479c516bcd0d11cb" dependencies = [ - "console-api", + "console-api 0.5.0", "crossbeam-channel", "crossbeam-utils", "futures", "hdrhistogram", "humantime", - "prost-types", + "prost-types 0.11.9", + "serde", + "serde_json", + "thread_local", + "tokio", + "tokio-stream", + "tonic 0.9.2", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "console-subscriber" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7481d4c57092cd1c19dd541b92bdce883de840df30aa5d03fd48a3935c01842e" +dependencies = [ + "console-api 0.6.0", + "crossbeam-channel", + "crossbeam-utils", + "futures-task", + "hdrhistogram", + "humantime", + "prost-types 0.12.3", "serde", "serde_json", "thread_local", "tokio", "tokio-stream", - "tonic", + "tonic 0.10.2", "tracing", "tracing-core", "tracing-subscriber", @@ -1592,6 +1671,27 @@ dependencies = [ "serdect", ] +[[package]] +name = "csv" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac574ff4d437a7b5ad237ef331c17ccca63c46479e5b5453eb8e10bb99a759fe" +dependencies = [ + "csv-core", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "csv-core" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efa2b3d7902f4b634a20cae3c9c4e6209dc4779feb6863329607560143efa70" +dependencies = [ + "memchr", +] + [[package]] name = "ctr" version = "0.6.0" @@ -2748,7 +2848,7 @@ version = "0.3.3" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ "async-broadcast", - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", "async-lock 2.8.0", "async-std", "async-trait", @@ -2762,14 +2862,53 @@ dependencies = [ "embed-doc-image", "futures", "hotshot-constants", - "hotshot-orchestrator", - "hotshot-task", - "hotshot-task-impls", - "hotshot-types", - "hotshot-utils", - "hotshot-web-server", + "hotshot-orchestrator 0.1.1 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-task 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-task-impls 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-web-server 0.1.1 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", "libp2p-identity", - "libp2p-networking", + "libp2p-networking 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "lru", + "portpicker", + "rand 0.8.5", + "serde", + "snafu", + "surf-disco", + "time 0.3.34", + "tokio", + "tracing", +] + +[[package]] +name = "hotshot" +version = "0.3.3" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "async-broadcast", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2)", + "async-lock 2.8.0", + "async-std", + "async-trait", + "bimap", + "bincode", + "commit", + "custom_debug", + "dashmap", + "derive_more", + "either", + "embed-doc-image", + "ethereum-types", + "futures", + "hotshot-orchestrator 0.1.1 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "hotshot-task 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "hotshot-task-impls 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "hotshot-web-server 0.1.1 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "libp2p-identity", + "libp2p-networking 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", "lru", "portpicker", "rand 0.8.5", @@ -2795,7 +2934,7 @@ version = "0.1.0" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ "async-broadcast", - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", "async-lock 2.8.0", "async-std", "bincode", @@ -2804,13 +2943,13 @@ dependencies = [ "either", "ethereum-types", "futures", - "hotshot", + "hotshot 0.3.3 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", "hotshot-constants", - "hotshot-orchestrator", - "hotshot-task", - "hotshot-task-impls", - "hotshot-types", - "hotshot-utils", + "hotshot-orchestrator 0.1.1 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-task 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-task-impls 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", "rand 0.8.5", "serde", "sha2 0.10.8", @@ -2825,13 +2964,39 @@ name = "hotshot-orchestrator" version = "0.1.1" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", + "async-lock 2.8.0", + "async-std", + "blake3", + "clap", + "futures", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "libp2p", + "serde", + "serde-inline-default", + "serde_json", + "surf-disco", + "thiserror", + "tide-disco", + "tokio", + "toml 0.8.10", + "tracing", +] + +[[package]] +name = "hotshot-orchestrator" +version = "0.1.1" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2)", "async-lock 2.8.0", "async-std", "blake3", "clap", + "csv", "futures", - "hotshot-types", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", "libp2p", "serde", "serde-inline-default", @@ -2850,7 +3015,20 @@ version = "0.1.0" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ "async-broadcast", - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", + "async-std", + "futures", + "tokio", + "tracing", +] + +[[package]] +name = "hotshot-task" +version = "0.1.0" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "async-broadcast", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2)", "async-std", "futures", "tokio", @@ -2863,7 +3041,7 @@ version = "0.1.0" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ "async-broadcast", - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", "async-lock 2.8.0", "async-std", "async-trait", @@ -2874,10 +3052,37 @@ dependencies = [ "either", "futures", "hotshot-constants", - "hotshot-task", - "hotshot-types", - "hotshot-utils", - "jf-primitives", + "hotshot-task 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "jf-primitives 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "sha2 0.10.8", + "snafu", + "time 0.3.34", + "tokio", + "tracing", +] + +[[package]] +name = "hotshot-task-impls" +version = "0.1.0" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "async-broadcast", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2)", + "async-lock 2.8.0", + "async-std", + "async-trait", + "bincode", + "bitvec", + "chrono", + "commit", + "either", + "futures", + "hotshot-task 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", + "jf-primitives 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", "sha2 0.10.8", "snafu", "time 0.3.34", @@ -2885,6 +3090,52 @@ dependencies = [ "tracing", ] +[[package]] +name = "hotshot-types" +version = "0.1.0" +source = "git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1#4e6f836468c8e236f5f5711e941d4d0a5745433a" +dependencies = [ + "ark-bls12-381", + "ark-bn254", + "ark-ec", + "ark-ed-on-bn254", + "ark-ff", + "ark-serialize", + "ark-std", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", + "async-lock 2.8.0", + "async-std", + "async-trait", + "bincode", + "bitvec", + "blake3", + "commit", + "custom_debug", + "derivative", + "digest 0.10.7", + "displaydoc", + "dyn-clone 1.0.17 (git+https://github.com/dtolnay/dyn-clone?tag=1.0.17)", + "either", + "espresso-systems-common 0.4.1", + "ethereum-types", + "futures", + "generic-array", + "jf-plonk 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", + "jf-primitives 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", + "lazy_static", + "rand 0.8.5", + "rand_chacha 0.3.1", + "serde", + "sha2 0.10.8", + "snafu", + "tagged-base64", + "time 0.3.34", + "tokio", + "tracing", + "typenum", +] + [[package]] name = "hotshot-types" version = "0.1.0" @@ -2896,7 +3147,7 @@ dependencies = [ "ark-ff", "ark-serialize", "ark-std", - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", "async-lock 2.8.0", "async-std", "async-trait", @@ -2914,12 +3165,12 @@ dependencies = [ "ethereum-types", "generic-array", "hotshot-constants", - "hotshot-utils", - "jf-plonk", - "jf-primitives", - "jf-utils", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "jf-plonk 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "jf-primitives 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", "lazy_static", - "libp2p-networking", + "libp2p-networking 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", "rand 0.8.5", "rand_chacha 0.3.1", "serde", @@ -2941,17 +3192,44 @@ dependencies = [ "hotshot-constants", ] +[[package]] +name = "hotshot-utils" +version = "0.1.0" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "bincode", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1)", +] + [[package]] name = "hotshot-web-server" version = "0.1.1" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", + "async-lock 2.8.0", + "async-std", + "clap", + "futures", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "rand 0.8.5", + "tide-disco", + "tokio", + "toml 0.8.10", + "tracing", +] + +[[package]] +name = "hotshot-web-server" +version = "0.1.1" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2)", "async-lock 2.8.0", "async-std", "clap", "futures", - "hotshot-types", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1)", "rand 0.8.5", "tide-disco", "tokio", @@ -2968,7 +3246,7 @@ dependencies = [ "clap", "derive_more", "futures", - "hotshot-types", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", "serde", "snafu", "tagged-base64", @@ -2981,16 +3259,16 @@ name = "hs-builder-core" version = "0.1.1" dependencies = [ "async-broadcast", - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", "async-lock 2.8.0", "async-std", "async-trait", "clap", "commit", "futures", - "hotshot", + "hotshot 0.3.3 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", "hotshot-example-types", - "hotshot-types", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", "hs-builder-api", "serde", "sha2 0.10.8", @@ -3440,9 +3718,38 @@ dependencies = [ "espresso-systems-common 0.4.0", "hashbrown 0.14.3", "itertools 0.12.1", - "jf-primitives", - "jf-relation", - "jf-utils", + "jf-primitives 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "jf-relation 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "merlin", + "num-bigint", + "rand_chacha 0.3.1", + "rayon", + "serde", + "sha3", + "tagged-base64", +] + +[[package]] +name = "jf-plonk" +version = "0.4.0-pre.0" +source = "git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1#e96464c4bd8beb608a6a4afc8b8a2441c981f21a" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "displaydoc", + "downcast-rs", + "dyn-clone 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", + "espresso-systems-common 0.4.0", + "hashbrown 0.14.3", + "itertools 0.12.1", + "jf-primitives 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", + "jf-relation 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", "merlin", "num-bigint", "rand_chacha 0.3.1", @@ -3482,8 +3789,53 @@ dependencies = [ "generic-array", "hashbrown 0.14.3", "itertools 0.12.1", - "jf-relation", - "jf-utils", + "jf-relation 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "merlin", + "num-bigint", + "num-traits", + "rand_chacha 0.3.1", + "rayon", + "serde", + "sha2 0.10.8", + "sha3", + "tagged-base64", + "typenum", + "zeroize", +] + +[[package]] +name = "jf-primitives" +version = "0.4.0-pre.0" +source = "git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1#e96464c4bd8beb608a6a4afc8b8a2441c981f21a" +dependencies = [ + "anyhow", + "ark-bls12-377", + "ark-bls12-381", + "ark-bn254", + "ark-bw6-761", + "ark-crypto-primitives", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-381", + "ark-ed-on-bn254", + "ark-ff", + "ark-pallas", + "ark-poly", + "ark-serialize", + "ark-std", + "blst", + "chacha20poly1305", + "crypto_kx", + "derivative", + "digest 0.10.7", + "displaydoc", + "espresso-systems-common 0.4.0", + "generic-array", + "hashbrown 0.14.3", + "itertools 0.12.1", + "jf-relation 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", "merlin", "num-bigint", "num-traits", @@ -3517,7 +3869,33 @@ dependencies = [ "dyn-clone 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", "hashbrown 0.14.3", "itertools 0.12.1", - "jf-utils", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.0)", + "num-bigint", + "rand_chacha 0.3.1", + "rayon", +] + +[[package]] +name = "jf-relation" +version = "0.4.0-pre.0" +source = "git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1#e96464c4bd8beb608a6a4afc8b8a2441c981f21a" +dependencies = [ + "ark-bls12-377", + "ark-bls12-381", + "ark-bn254", + "ark-bw6-761", + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "displaydoc", + "downcast-rs", + "dyn-clone 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", + "hashbrown 0.14.3", + "itertools 0.12.1", + "jf-utils 0.4.0-pre.0 (git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1)", "num-bigint", "rand_chacha 0.3.1", "rayon", @@ -3539,6 +3917,22 @@ dependencies = [ "tagged-base64", ] +[[package]] +name = "jf-utils" +version = "0.4.0-pre.0" +source = "git+https://github.com/EspressoSystems/jellyfish?tag=0.4.1#e96464c4bd8beb608a6a4afc8b8a2441c981f21a" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rayon", + "serde", + "sha2 0.10.8", + "tagged-base64", +] + [[package]] name = "js-sys" version = "0.3.68" @@ -3910,7 +4304,7 @@ name = "libp2p-networking" version = "0.1.0" source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21#eba2d0ec9dd27e555febbb42acad3fe24b9b5f3c" dependencies = [ - "async-compatibility-layer", + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.1)", "async-lock 2.8.0", "async-std", "async-trait", @@ -3922,13 +4316,46 @@ dependencies = [ "either", "futures", "hotshot-constants", - "hotshot-utils", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.21)", + "lazy_static", + "libp2p", + "libp2p-identity", + "libp2p-swarm-derive", + "rand 0.8.5", + "serde", + "serde_json", + "snafu", + "tokio", + "tokio-stream", + "tracing", + "void", +] + +[[package]] +name = "libp2p-networking" +version = "0.1.0" +source = "git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24#cb418bd07f183be6d0938fe6bba544f6b33d3225" +dependencies = [ + "async-compatibility-layer 1.0.0 (git+https://github.com/EspressoSystems/async-compatibility-layer.git?tag=1.4.2)", + "async-lock 2.8.0", + "async-std", + "async-trait", + "bincode", + "blake3", + "custom_debug", + "dashmap", + "derive_builder", + "either", + "futures", + "hotshot-types 0.1.0 (git+https://github.com/EspressoSystems/hotshot-types?tag=0.1.1)", + "hotshot-utils 0.1.0 (git+https://github.com/EspressoSystems/HotShot.git?tag=0.5.24)", "lazy_static", "libp2p", "libp2p-identity", "libp2p-swarm-derive", "rand 0.8.5", "serde", + "serde_bytes", "serde_json", "snafu", "tokio", @@ -5223,7 +5650,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes 1.5.0", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +dependencies = [ + "bytes 1.5.0", + "prost-derive 0.12.3", ] [[package]] @@ -5239,13 +5676,35 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +dependencies = [ + "anyhow", + "itertools 0.10.5", + "proc-macro2", + "quote", + "syn 2.0.52", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", +] + +[[package]] +name = "prost-types" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e" +dependencies = [ + "prost 0.12.3", ] [[package]] @@ -5868,6 +6327,15 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" version = "1.0.197" @@ -6945,7 +7413,34 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", + "prost 0.11.9", + "tokio", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tonic" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64 0.21.7", + "bytes 1.5.0", + "h2", + "http 0.2.11", + "http-body", + "hyper", + "hyper-timeout", + "percent-encoding", + "pin-project", + "prost 0.12.3", "tokio", "tokio-stream", "tower", diff --git a/Cargo.toml b/Cargo.toml index e8663f05..9f406c4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ async-trait = "0.1" clap = { version = "4.4", features = ["derive", "env"] } commit = { git = "https://github.com/EspressoSystems/commit.git" } futures = "0.3" -hotshot = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.21" } +hotshot = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.24" } hotshot-example-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.21" } hotshot-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.21" } hs-builder-api = { git = "https://github.com/EspressoSystems/hs-builder-api", branch = "main" }