Skip to content

Commit 14bee5b

Browse files
authored
Merge pull request #22 from bobanetwork/docker
Separate docker initialisation from images
2 parents 4fb09c8 + 11febf6 commit 14bee5b

18 files changed

+692
-564
lines changed

.env.example.admin

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
L2_NODE_WEB3_URL= <rpc>
22
#interval of service refreshing (in milliseconds); default = 12000
33
POLLING_INTERVAL= <interval of service refreshing>
4+
THRESHOLD=3
5+
NUMBER_OF_MEMBERS=5
6+
DEGREE=18
47
#interval of randomness generation (in seconds); default = 3600
58
RAND_GEN_INTERVAL= <interval of randomness generation>
69
# UTC time for starting producing randoms, e.g., 2024-07-18T12:00:00Z

.env.example.node

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
L2_NODE_WEB3_URL= <rpc>
22
#interval of service refreshing (in milliseconds); default = 12000
33
POLLING_INTERVAL= <interval of service refreshing>
4+
THRESHOLD=3
5+
NUMBER_OF_MEMBERS=5
6+
DEGREE=18
47
ZK_RAND_ADDRESS= <contract address>
58
NODE_PRIVATE_KEY= <private key of node account>

Cargo.lock

+5-162
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+6-7
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ edition = "2021"
88

99
[dependencies]
1010
lazy_static = "1.4.0"
11-
halo2_gadgets = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin"}
12-
halo2wrong = { git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin"}
13-
halo2_ecc ={ package = "ecc", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin"}
14-
halo2_maingate = { package = "maingate", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin"}
15-
halo2_proofs = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin"}
11+
halo2_gadgets = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin" }
12+
halo2wrong = { git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin" }
13+
halo2_ecc = { package = "ecc", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin" }
14+
halo2_maingate = { package = "maingate", git = "https://github.com/kitounliu/halo2wrong.git", branch = "grumpkin" }
15+
halo2_proofs = { git = "https://github.com/kitounliu/halo2.git", branch = "grumpkin" }
1616

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

2727
# for client
2828
clap = { version = "4.4.18", features = ["derive"] }
29-
config = "0.13.4"
30-
toml = "0.5.11"
3129
serde_json = "1.0.108"
3230
rand_chacha = "0.3.1"
3331
ark-std = { version = "0.3", features = ["print-trace"] }
@@ -36,6 +34,7 @@ const_format = "0.2.32"
3634
pretty_env_logger = "0.5.0"
3735
thiserror = "1.0"
3836
hex = "0.4.3"
37+
dotenv = "0.15"
3938

4039
[dev-dependencies]
4140
rand_chacha = "0.3.1"

0 commit comments

Comments
 (0)