From 52e5203f4f5a9c3878360fa069c06d6471443b88 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 20 Mar 2023 18:46:44 -0600 Subject: [PATCH] instantiate storer --- circuits/main.circom | 5 ----- circuits/storer.circom | 1 + circuits/storer_main_256_80_32_16.circom | 5 +++++ 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 circuits/main.circom create mode 100644 circuits/storer_main_256_80_32_16.circom diff --git a/circuits/main.circom b/circuits/main.circom deleted file mode 100644 index d69f0c0..0000000 --- a/circuits/main.circom +++ /dev/null @@ -1,5 +0,0 @@ -pragma circom 2.1.0; - -include "./storer.circom"; - -component main { public [root, salt] } = StorageProver(32, 4, 2, 4); diff --git a/circuits/storer.circom b/circuits/storer.circom index 86b1407..e5702cf 100644 --- a/circuits/storer.circom +++ b/circuits/storer.circom @@ -3,6 +3,7 @@ pragma circom 2.1.0; include "../node_modules/circomlib/circuits/poseidon.circom"; include "../node_modules/circomlib/circuits/switcher.circom"; include "../node_modules/circomlib/circuits/bitify.circom"; + include "./poseidon-digest.circom"; template parallel MerkleProof(LEVELS) { diff --git a/circuits/storer_main_256_80_32_16.circom b/circuits/storer_main_256_80_32_16.circom new file mode 100644 index 0000000..41efe31 --- /dev/null +++ b/circuits/storer_main_256_80_32_16.circom @@ -0,0 +1,5 @@ +pragma circom 2.1.0; + +include "./storer.circom"; + +component main { public [root, salt] } = StorageProver(256, 80, 32, 16);