From 7fbac0b316c733de299606a14125dc1cd4b8c7f7 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 13 Nov 2023 11:28:51 -0600 Subject: [PATCH] use proper nimble structure --- example/config.nims | 2 +- {src => groth16}/bn128.nim | 0 {src => groth16}/container.nim | 0 {src => groth16}/domain.nim | 0 {src => groth16}/export_json.nim | 0 {src => groth16}/groth16.nim | 0 {src => groth16}/misc.nim | 0 {src => groth16}/ntt.nim | 0 {src => groth16}/poly.nim | 0 {src => groth16}/r1cs.nim | 0 {src => groth16}/witness.nim | 0 {src => groth16}/zkey.nim | 0 {src => groth16}/zkey_types.nim | 0 tests/config.nims | 2 +- 14 files changed, 2 insertions(+), 2 deletions(-) rename {src => groth16}/bn128.nim (100%) rename {src => groth16}/container.nim (100%) rename {src => groth16}/domain.nim (100%) rename {src => groth16}/export_json.nim (100%) rename {src => groth16}/groth16.nim (100%) rename {src => groth16}/misc.nim (100%) rename {src => groth16}/ntt.nim (100%) rename {src => groth16}/poly.nim (100%) rename {src => groth16}/r1cs.nim (100%) rename {src => groth16}/witness.nim (100%) rename {src => groth16}/zkey.nim (100%) rename {src => groth16}/zkey_types.nim (100%) diff --git a/example/config.nims b/example/config.nims index 3bb69f8..e2b1a4a 100644 --- a/example/config.nims +++ b/example/config.nims @@ -1 +1 @@ -switch("path", "$projectDir/../src") \ No newline at end of file +switch("path", "$projectDir/../groth16") \ No newline at end of file diff --git a/src/bn128.nim b/groth16/bn128.nim similarity index 100% rename from src/bn128.nim rename to groth16/bn128.nim diff --git a/src/container.nim b/groth16/container.nim similarity index 100% rename from src/container.nim rename to groth16/container.nim diff --git a/src/domain.nim b/groth16/domain.nim similarity index 100% rename from src/domain.nim rename to groth16/domain.nim diff --git a/src/export_json.nim b/groth16/export_json.nim similarity index 100% rename from src/export_json.nim rename to groth16/export_json.nim diff --git a/src/groth16.nim b/groth16/groth16.nim similarity index 100% rename from src/groth16.nim rename to groth16/groth16.nim diff --git a/src/misc.nim b/groth16/misc.nim similarity index 100% rename from src/misc.nim rename to groth16/misc.nim diff --git a/src/ntt.nim b/groth16/ntt.nim similarity index 100% rename from src/ntt.nim rename to groth16/ntt.nim diff --git a/src/poly.nim b/groth16/poly.nim similarity index 100% rename from src/poly.nim rename to groth16/poly.nim diff --git a/src/r1cs.nim b/groth16/r1cs.nim similarity index 100% rename from src/r1cs.nim rename to groth16/r1cs.nim diff --git a/src/witness.nim b/groth16/witness.nim similarity index 100% rename from src/witness.nim rename to groth16/witness.nim diff --git a/src/zkey.nim b/groth16/zkey.nim similarity index 100% rename from src/zkey.nim rename to groth16/zkey.nim diff --git a/src/zkey_types.nim b/groth16/zkey_types.nim similarity index 100% rename from src/zkey_types.nim rename to groth16/zkey_types.nim diff --git a/tests/config.nims b/tests/config.nims index 3bb69f8..e2b1a4a 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -1 +1 @@ -switch("path", "$projectDir/../src") \ No newline at end of file +switch("path", "$projectDir/../groth16") \ No newline at end of file