Switch to ring for hkdf (#1134)

* Switch to ring for hkdf

* Remove comments

* Make some keystore tests release only
This commit is contained in:
Paul Hauner
2020-05-12 15:48:39 +10:00
committed by GitHub
parent d1864a8f01
commit f9550ff5f2
6 changed files with 23 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
//! https://eips.ethereum.org/EIPS/eip-2335
#![cfg(test)]
#![cfg(not(debug_assertions))]
use eth2_keystore::{Keystore, Uuid};

View File

@@ -340,6 +340,7 @@ fn bad_version() {
}
#[test]
#[cfg(not(debug_assertions))]
fn json_bad_checksum() {
let vector = r#"
{

View File

@@ -1,4 +1,5 @@
#![cfg(test)]
#![cfg(not(debug_assertions))]
use bls::Keypair;
use eth2_keystore::{Error, Keystore, KeystoreBuilder};