mirror of
https://github.com/arnaucube/babyjubjub-ark.git
synced 2026-01-13 09:11:28 +01:00
Update to last poseidon-rs version
Update to last Poseidon version (which includes the changes of the reference implementation from26ddaa91db) Compatible with update at circomlib (cf853c1cc9)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "babyjubjub-rs"
|
||||
version = "0.0.6"
|
||||
version = "0.0.7"
|
||||
authors = ["arnaucube <root@arnaucube.com>"]
|
||||
edition = "2018"
|
||||
license = "GPL-3.0"
|
||||
@@ -19,7 +19,7 @@ blake-hash = "0.4.0"
|
||||
generic-array = "0.13.2"
|
||||
tiny-keccak = "1.5"
|
||||
rustc-hex = "1.0.0"
|
||||
poseidon-rs = "0.0.5"
|
||||
poseidon-rs = "0.0.8"
|
||||
arrayref = "0.3.5"
|
||||
lazy_static = "1.4.0"
|
||||
|
||||
|
||||
@@ -738,7 +738,7 @@ mod tests {
|
||||
);
|
||||
assert_eq!(
|
||||
sig.s.to_string(),
|
||||
"1398758333392199195742243841591064350253744445503462896781493968760929513778"
|
||||
"1672775540645840396591609181675628451599263765380031905495115170613215233181"
|
||||
);
|
||||
let v = verify(pk, sig, msg);
|
||||
assert_eq!(v, true);
|
||||
|
||||
Reference in New Issue
Block a user