Skip to content

Commit 9a0857c

Browse files
committed
Merge remote-tracking branch 'origin/staging' into refactor/move-agg-mode-sdk-to-new-dir
2 parents a97690c + fa3cbe9 commit 9a0857c

16 files changed

Lines changed: 968 additions & 17 deletions

File tree

aggregation_mode/Cargo.lock

Lines changed: 144 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregation_mode/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks.git", r
1515
bincode = "1.3.3"
1616
sp1-sdk = "5.0.0"
1717
risc0-zkvm = { version = "3.0.3" }
18+
prometheus = { version = "0.13.4", features = ["process"] }
1819

1920
agg_mode_sdk = { path = "./sdk"}
2021
db = { path = "./db" }

aggregation_mode/gateway/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ serde = { workspace = true }
88
serde_json = { workspace = true }
99
serde_yaml = { workspace = true }
1010
agg_mode_sdk = { workspace = true }
11+
prometheus = { workspace = true }
1112
sp1-sdk = { workspace = true }
1213
db = { workspace = true }
1314
tracing = { version = "0.1", features = ["log"] }
1415
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
1516
bincode = "1.3.3"
1617
actix-web = "4"
1718
actix-multipart = "0.7.2"
19+
actix-web-prometheus = "0.1.2"
1820
alloy = { workspace = true }
1921
tokio = { version = "1", features = ["time", "macros", "rt-multi-thread"]}
2022
# TODO: enable tls

aggregation_mode/gateway/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub struct Config {
99
pub db_connection_urls: Vec<String>,
1010
pub network: String,
1111
pub max_daily_proofs_per_user: i64,
12+
pub gateway_metrics_port: u16,
1213
}
1314

1415
impl Config {

0 commit comments

Comments
 (0)