Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate docker initialisation from images #22

Merged
merged 8 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example.admin
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
L2_NODE_WEB3_URL= <rpc>
#interval of service refreshing (in milliseconds); default = 12000
POLLING_INTERVAL= <interval of service refreshing>
THRESHOLD=3
NUMBER_OF_MEMBERS=5
DEGREE=18
#interval of randomness generation (in seconds); default = 3600
RAND_GEN_INTERVAL= <interval of randomness generation>
# UTC time for starting producing randoms, e.g., 2024-07-18T12:00:00Z
Expand Down
3 changes: 3 additions & 0 deletions .env.example.node
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
L2_NODE_WEB3_URL= <rpc>
#interval of service refreshing (in milliseconds); default = 12000
POLLING_INTERVAL= <interval of service refreshing>
THRESHOLD=3
NUMBER_OF_MEMBERS=5
DEGREE=18
ZK_RAND_ADDRESS= <contract address>
NODE_PRIVATE_KEY= <private key of node account>
167 changes: 5 additions & 162 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ edition = "2021"

[dependencies]
lazy_static = "1.4.0"
halo2_gadgets = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin"}
halo2wrong = { git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin"}
halo2_ecc ={ package = "ecc", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin"}
halo2_maingate = { package = "maingate", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin"}
halo2_proofs = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin"}
halo2_gadgets = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin" }
halo2wrong = { git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin" }
halo2_ecc = { package = "ecc", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin" }
halo2_maingate = { package = "maingate", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin" }
halo2_proofs = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin" }

sha3 = "0.10"
rand_core = { version = "0.6", default-features = false }
Expand All @@ -26,8 +26,6 @@ serde = { version = "1.0.193", features = ["derive"] }

# for client
clap = { version = "4.4.18", features = ["derive"] }
config = "0.13.4"
toml = "0.5.11"
serde_json = "1.0.108"
rand_chacha = "0.3.1"
ark-std = { version = "0.3", features = ["print-trace"] }
Expand All @@ -36,6 +34,7 @@ const_format = "0.2.32"
pretty_env_logger = "0.5.0"
thiserror = "1.0"
hex = "0.4.3"
dotenv = "0.15"

[dev-dependencies]
rand_chacha = "0.3.1"
Expand Down
Loading
Loading