Skip to content

Commit

Permalink
Merge pull request #22 from bobanetwork/docker
Browse files Browse the repository at this point in the history
Separate docker initialisation from images
  • Loading branch information
kitounliu committed Jul 30, 2024
2 parents 4fb09c8 + 11febf6 commit 14bee5b
Show file tree
Hide file tree
Showing 18 changed files with 692 additions and 564 deletions.
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

0 comments on commit 14bee5b

Please sign in to comment.