Skip to content

Commit

Permalink
Update tagged-base64
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Nov 14, 2023
1 parent 4da489b commit 96d423b
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 216 deletions.
265 changes: 63 additions & 202 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resolver = "2"
[workspace.dependencies]
ark-bls12-381 = "0.4"
ark-ec = "0.4"
ark-serialize = "0.4" # features = ["derive"]
ark-serialize = "0.4"
ark-std = { version = "0.4", default-features = false }
async-compatibility-layer = { git = "https://github.com/EspressoSystems/async-compatibility-layer.git", tag = "1.4.1", default-features = false, features = [
"logging-utils",
Expand Down Expand Up @@ -62,9 +62,11 @@ rand = "0.8.5"
rand_chacha = { version = "0.3.1", default-features = false }
serde = { version = "1.0.188", features = ["derive"] }
snafu = "0.7.5"
surf-disco = { git = "https://github.com/EspressoSystems/surf-disco.git", tag = "v0.4.2" }
surf-disco = { git = "https://github.com/EspressoSystems/surf-disco.git", tag = "v0.4.3" }
tagged-base64 = { git = "https://github.com/EspressoSystems/tagged-base64", tag = "0.3.4" }
tide-disco = { git = "https://github.com/EspressoSystems/tide-disco.git", tag = "v0.4.3" }
time = "0.3.28"
toml = "0.7.8"
toml = "0.8"
tracing = "0.1.37"
typenum = "1.16.0"
libp2p = { package = "libp2p", version = "0.52.3", features = [
Expand Down
2 changes: 1 addition & 1 deletion crates/hotshot-stake-table/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jf-primitives = { workspace = true }
jf-relation = { workspace = true }
jf-utils = { workspace = true }
serde = { workspace = true, features = ["rc"] }
tagged-base64 = { git = "https://github.com/espressosystems/tagged-base64", tag = "0.3.0" }
tagged-base64 = { workspace = true }
typenum = { workspace = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/orchestrator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ hotshot-types = { version = "0.1.0", path = "../types", default-features = false
hotshot-utils = { path = "../utils" }
libp2p-networking = { workspace = true }
nll = { workspace = true }
tide-disco = { git = "https://github.com/EspressoSystems/tide-disco.git", tag = "v0.4.1" }
tide-disco = { workspace = true }
surf-disco = { workspace = true }
tracing = { workspace = true }
serde = { workspace = true }
serde_json = "1.0.96"
snafu = { workspace = true }
toml = "0.5.9" # TODO GG upgrade to toml = { workspace = true }
toml = { workspace = true }

[target.'cfg(all(async_executor_impl = "tokio"))'.dependencies]
tokio = { workspace = true }
Expand Down
6 changes: 2 additions & 4 deletions crates/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ arbitrary = { version = "1.3", features = ["derive"] }
async-compatibility-layer = { workspace = true }
async-lock = { workspace = true }
async-trait = { workspace = true }
ark-serialize = { version = "0.3", features = [
"derive",
] } # TODO GG upgrade to 0.4 and inherit this dep from workspace
ark-serialize = { workspace = true, features = ["derive"] }
ark-std = { workspace = true }
bincode = { workspace = true }
bitvec = { workspace = true }
Expand All @@ -42,7 +40,7 @@ rand = { workspace = true }
rand_chacha = { workspace = true }
serde = { workspace = true }
snafu = { workspace = true }
tagged-base64 = { git = "https://github.com/EspressoSystems/tagged-base64", tag = "0.2.4" }
tagged-base64 = { workspace = true }
time = { workspace = true }
tracing = { workspace = true }
ethereum-types = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/types/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::{
Block, State,
},
};
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize, Read, SerializationError, Write};
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
use bincode::Options;
use commit::{Commitment, Committable};
use derivative::Derivative;
Expand Down
2 changes: 1 addition & 1 deletion crates/types/src/traits/signature_key.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Minimal compatibility over public key signatures
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize, Read, SerializationError, Write};
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
use bitvec::prelude::*;
use espresso_systems_common::hotshot::tag;
use ethereum_types::U256;
Expand Down
2 changes: 1 addition & 1 deletion crates/web_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ libp2p-core = { version = "0.40.0", default-features = false }
hotshot-types = { path = "../types", default-features = false }
hotshot-utils = { path = "../utils" }
jf-primitives = { workspace = true }
tide-disco = { git = "https://github.com/EspressoSystems/tide-disco.git", tag = "v0.4.1" }
tide-disco = { workspace = true }
nll = { workspace = true }
tracing = { workspace = true }
rand = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/web_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ where
let mut api = match &options.api_path {
Some(path) => Api::<State, Error>::from_file(path)?,
None => {
let toml = toml::from_str(include_str!("../api.toml")).map_err(|err| {
let toml: toml::Value = toml::from_str(include_str!("../api.toml")).map_err(|err| {
ApiError::CannotReadToml {
reason: err.to_string(),
}
Expand Down

0 comments on commit 96d423b

Please sign in to comment.