diff --git a/Cargo.toml b/Cargo.toml index e305844fa..1bea73a86 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://github.com/matter-labs/bellman" license = "MIT/Apache-2.0" name = "bellman_ce" repository = "https://github.com/matter-labs/bellman" -version = "0.3.3" +version = "0.3.4" edition = "2018" [lib] @@ -18,7 +18,7 @@ bit-vec = "0.6" cfg-if = "0.1" #pairing = {package = "pairing_ce", path = "../pairing" } -pairing = {package = "pairing_ce", version = "0.20" } +pairing = {package = "pairing_ce", version = "0.21" } byteorder = "1" futures= {package = "futures", version = "0.3", default_features = false, features = ["executor"]} diff --git a/src/tests/dummy_engine.rs b/src/tests/dummy_engine.rs index fbad77678..1fdd349c8 100644 --- a/src/tests/dummy_engine.rs +++ b/src/tests/dummy_engine.rs @@ -24,7 +24,7 @@ use std::num::Wrapping; const MODULUS_R: Wrapping = Wrapping(64513); -#[derive(Copy, Clone, Debug, PartialEq, Eq)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] pub struct Fr(Wrapping); impl fmt::Display for Fr { @@ -160,7 +160,7 @@ impl SqrtField for Fr { } } -#[derive(Copy, Clone, Debug, Eq, PartialEq)] +#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)] pub struct FrRepr([u64; 1]); impl Ord for FrRepr {