diff --git a/test/unittests/evmmax_bn254_add_test.cpp b/test/unittests/evmmax_bn254_add_test.cpp index 2c4878469e..b5d9bb1005 100644 --- a/test/unittests/evmmax_bn254_add_test.cpp +++ b/test/unittests/evmmax_bn254_add_test.cpp @@ -117,8 +117,6 @@ const TestCase TEST(evmmax, bn254_validate_inputs) { - const evmmax::ModArith s{evmmax::bn254::FieldPrime}; - for (const auto& t : test_cases) { ASSERT_EQ(t.input.size(), 128); @@ -139,8 +137,6 @@ TEST(evmmax, bn254_validate_inputs) TEST(evmmax, bn254_pt_add) { - const evmmax::ModArith s{evmmax::bn254::FieldPrime}; - for (const auto& t : test_cases) { const Point a{ diff --git a/test/unittests/evmmax_bn254_mul_test.cpp b/test/unittests/evmmax_bn254_mul_test.cpp index d08f1c6b79..b4eee4fb30 100644 --- a/test/unittests/evmmax_bn254_mul_test.cpp +++ b/test/unittests/evmmax_bn254_mul_test.cpp @@ -213,8 +213,6 @@ const TestCase TEST(evmmax, bn254_mul_validate_inputs) { - const evmmax::ModArith s{evmmax::bn254::FieldPrime}; - for (const auto& t : test_cases) { ASSERT_EQ(t.input.size(), 96); @@ -232,8 +230,6 @@ TEST(evmmax, bn254_mul_validate_inputs) TEST(evmmax, bn254_pt_mul) { - const evmmax::ModArith s{evmmax::bn254::FieldPrime}; - for (const auto& t : test_cases) { const Point p{ diff --git a/test/unittests/evmmax_secp256k1_test.cpp b/test/unittests/evmmax_secp256k1_test.cpp index fe8dbc06aa..fb7f27a50c 100644 --- a/test/unittests/evmmax_secp256k1_test.cpp +++ b/test/unittests/evmmax_secp256k1_test.cpp @@ -211,8 +211,6 @@ TEST(evmmax, secp256k1_pt_add_inf) TEST(evmmax, secp256k1_pt_add) { - const evmmax::ModArith s{evmmax::secp256k1::FieldPrime}; - const Point p1{0x18f4057699e2d9679421de8f4e11d7df9fa4b9e7cb841ea48aed75f1567b9731_u256, 0x6db5b7ecd8e226c06f538d15173267bf1e78acc02bb856e83b3d6daec6a68144_u256}; const Point p2{0xf929e07c83d65da3569113ae03998d13359ba982216285a686f4d66e721a0beb_u256, @@ -261,8 +259,6 @@ TEST(evmmax, secp256k1_pt_mul_inf) TEST(evmmax, secp256k1_pt_mul) { - const evmmax::ModArith s{evmmax::secp256k1::FieldPrime}; - const Point p1{0x18f4057699e2d9679421de8f4e11d7df9fa4b9e7cb841ea48aed75f1567b9731_u256, 0x6db5b7ecd8e226c06f538d15173267bf1e78acc02bb856e83b3d6daec6a68144_u256};