Skip to content

Commit 951970c

Browse files
committed
update files
1 parent 1e5c0c9 commit 951970c

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

bindings/csharp/csharp_code/EthKZG.test/RefTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void Teardown()
2929

3030

3131
private EthKZG _context;
32-
private const string TestDir = "../../../../../../../consensus_test_vectors";
32+
private const string TestDir = "../../../../../../../test_vectors";
3333
private readonly string _blobToKzgCommitmentTests = Path.Join(TestDir, "blob_to_kzg_commitment");
3434
private readonly string _computeCellsAndKzgProofsTests = Path.Join(TestDir, "compute_cells_and_kzg_proofs");
3535
private readonly string _verifyCellKzgProofBatchTests = Path.Join(TestDir, "verify_cell_kzg_proof_batch");

bindings/java/java_code/src/testFixtures/java/ethereum/cryptography/TestUtils.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ public class TestUtils {
2727

2828
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper(new YAMLFactory());
2929

30-
private static final String BLOB_TO_KZG_COMMITMENT_TESTS = "../../../consensus_test_vectors/blob_to_kzg_commitment/";
30+
private static final String BLOB_TO_KZG_COMMITMENT_TESTS = "../../../test_vectors/blob_to_kzg_commitment/";
3131
private static final String COMPUTE_CELLS_AND_KZG_PROOFS_TESTS =
32-
"../../../consensus_test_vectors/compute_cells_and_kzg_proofs/";
32+
"../../../test_vectors/compute_cells_and_kzg_proofs/";
3333
private static final String VERIFY_CELL_KZG_PROOF_BATCH_TESTS =
34-
"../../../consensus_test_vectors/verify_cell_kzg_proof_batch/";
35-
private static final String RECOVER_CELLS_AND_KZG_PROOFS_TESTS = "../../../consensus_test_vectors/recover_cells_and_kzg_proofs/";
34+
"../../../test_vectors/verify_cell_kzg_proof_batch/";
35+
private static final String RECOVER_CELLS_AND_KZG_PROOFS_TESTS = "../../../test_vectors/recover_cells_and_kzg_proofs/";
3636

3737
public static byte[] flatten(final byte[]... bytes) {
3838
final int capacity = Arrays.stream(bytes).mapToInt(b -> b.length).sum();

bindings/nim/nim_code/tests/test_yaml.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import
1313

1414
const
1515
kzgPath* = currentSourcePath.rsplit(DirSep, 5)[0] & "/"
16-
testBase = kzgPath & "consensus_test_vectors/"
16+
testBase = kzgPath & "test_vectors/"
1717
BLOB_TO_KZG_COMMITMENT_TESTS = testBase & "blob_to_kzg_commitment"
1818
COMPUTE_CELLS_AND_KZG_PROOFS_TESTS = testBase & "compute_cells_and_kzg_proofs"
1919
VERIFY_CELL_KZG_PROOF_BATCH_TESTS = testBase & "verify_cell_kzg_proof_batch"

bindings/node/__test__/index.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ interface TestMeta<I extends Record<string, any>, O extends boolean | string | s
1212
output: O;
1313
}
1414

15-
const BLOB_TO_KZG_COMMITMENT_TESTS = "../../consensus_test_vectors/blob_to_kzg_commitment/*/*/data.yaml";
16-
const COMPUTE_CELLS_AND_KZG_PROOFS_TESTS = "../../consensus_test_vectors/compute_cells_and_kzg_proofs/*/*/data.yaml";
17-
const VERIFY_CELL_KZG_PROOF_BATCH_TESTS = "../../consensus_test_vectors/verify_cell_kzg_proof_batch/*/*/data.yaml";
18-
const RECOVER_CELLS_AND_KZG_PROOFS_TEST = "../../consensus_test_vectors/recover_cells_and_kzg_proofs/*/*/data.yaml";
15+
const BLOB_TO_KZG_COMMITMENT_TESTS = "../../test_vectors/blob_to_kzg_commitment/*/*/data.yaml";
16+
const COMPUTE_CELLS_AND_KZG_PROOFS_TESTS = "../../test_vectors/compute_cells_and_kzg_proofs/*/*/data.yaml";
17+
const VERIFY_CELL_KZG_PROOF_BATCH_TESTS = "../../test_vectors/verify_cell_kzg_proof_batch/*/*/data.yaml";
18+
const RECOVER_CELLS_AND_KZG_PROOFS_TEST = "../../test_vectors/recover_cells_and_kzg_proofs/*/*/data.yaml";
1919

2020
type BlobToKzgCommitmentTest = TestMeta<{ blob: string }, string>;
2121
type ComputeCellsAndKzgProofsTest = TestMeta<{ blob: string }, string[][]>;

consensus_test_vectors/README.md

-5
This file was deleted.

0 commit comments

Comments
 (0)