diff --git a/constantine-rust/constantine-ethereum-bls-sig/tests/t_ethereum_bls_sig_vectors.rs b/constantine-rust/constantine-ethereum-bls-sig/tests/t_ethereum_bls_sig_vectors.rs index 7849c381..1e0ac508 100644 --- a/constantine-rust/constantine-ethereum-bls-sig/tests/t_ethereum_bls_sig_vectors.rs +++ b/constantine-rust/constantine-ethereum-bls-sig/tests/t_ethereum_bls_sig_vectors.rs @@ -28,11 +28,11 @@ macro_rules! test_dir { } const AGGREGATE_VERIFY_TESTS: &str = concat!(test_dir!(), "aggregate_verify/*"); -const AGGREGATE_TESTS: &str = concat!(test_dir!(), "aggregate/*"); +// const AGGREGATE_TESTS: &str = concat!(test_dir!(), "aggregate/*"); const DESERIALIZATION_G1_TESTS: &str = concat!(test_dir!(), "deserialization_G1/*"); const BATCH_VERIFY_TESTS: &str = concat!(test_dir!(), "batch_verify/*"); const FAST_AGGREGATE_VERIFY_TESTS: &str = concat!(test_dir!(), "fast_aggregate_verify/*"); -const HASH_TO_G2_TESTS: &str = concat!(test_dir!(), "hash_to_G2/*"); +// const HASH_TO_G2_TESTS: &str = concat!(test_dir!(), "hash_to_G2/*"); const DESERIALIZATION_G2_TESTS: &str = concat!(test_dir!(), "deserialization_G2/*"); const VERIFY_TESTS: &str = concat!(test_dir!(), "verify/*"); const SIGN_TESTS: &str = concat!(test_dir!(), "sign/*"); @@ -294,7 +294,7 @@ fn t_sign() { match skey { Err(_e) => { // empty output due to `null` JSON value - let (Some(tout), Some(tmsg)) = + let (Some(tout), Some(_)) = (test.output.opt_bytes.0, test.input.message.opt_bytes.0) else { assert!(false); diff --git a/constantine-rust/constantine-ethereum-evm-precompiles/tests/t_ethereum_evm_precompiles.rs b/constantine-rust/constantine-ethereum-evm-precompiles/tests/t_ethereum_evm_precompiles.rs index a88c8fe9..1e17d0ab 100644 --- a/constantine-rust/constantine-ethereum-evm-precompiles/tests/t_ethereum_evm_precompiles.rs +++ b/constantine-rust/constantine-ethereum-evm-precompiles/tests/t_ethereum_evm_precompiles.rs @@ -59,6 +59,7 @@ const FAIL_MAP_FP2_TO_G2_BLS_TESTS: &str = type HexString = String; +#[allow(dead_code, non_snake_case)] #[derive(Deserialize, Debug)] struct PrecompileTest { Input: HexString, @@ -238,17 +239,17 @@ fn t_map_fp_to_g1_bls_tests() { t_generate(test_name, evm_bls12381_map_fp_to_g1); } #[test] -fn t_fail_map_fp_to_G1_bls_tests() { +fn t_fail_map_fp_to_g1_bls_tests() { let test_name = FAIL_MAP_FP_TO_G1_BLS_TESTS.to_string(); t_generate(test_name, evm_bls12381_map_fp_to_g1); } #[test] -fn t_map_fp2_to_G2_bls_tests() { +fn t_map_fp2_to_g2_bls_tests() { let test_name = MAP_FP2_TO_G2_BLS_TESTS.to_string(); t_generate(test_name, evm_bls12381_map_fp2_to_g2); } #[test] -fn t_fail_map_fp2_to_G2_bls_tests() { +fn t_fail_map_fp2_to_g2_bls_tests() { let test_name = FAIL_MAP_FP2_TO_G2_BLS_TESTS.to_string(); t_generate(test_name, evm_bls12381_map_fp2_to_g2); }