Skip to content

Commit 07eb91b

Browse files
Remove anyhow dependency
1 parent 3aeb64a commit 07eb91b

File tree

6 files changed

+2
-7
lines changed

6 files changed

+2
-7
lines changed

aggregation_mode/Cargo.lock

Lines changed: 0 additions & 2 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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ db = { path = "./db" }
1717
sp1-sdk = "5.0.0"
1818
risc0-zkvm = { version = "3.0.3" }
1919
prometheus = { version = "0.13.4", features = ["process"] }
20-
anyhow = { version = "1.0" }
2120
warp = "0.3.7"
2221

2322
[profile.release]

aggregation_mode/gateway/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ serde = { workspace = true }
88
serde_json = { workspace = true }
99
serde_yaml = { workspace = true }
1010
prometheus = { workspace = true }
11-
anyhow = { workspace = true }
1211
warp = { workspace = true }
1312
agg_mode_sdk = { path = "../sdk"}
1413
aligned-sdk = { workspace = true }

aggregation_mode/gateway/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub struct GatewayMetrics {
77
}
88

99
impl GatewayMetrics {
10-
pub fn start(metrics_port: u16) -> anyhow::Result<Self> {
10+
pub fn start(metrics_port: u16) -> Result<Self, prometheus::Error> {
1111
let registry = prometheus::Registry::new();
1212

1313
let time_elapsed_db_post = register_histogram!(histogram_opts!(

aggregation_mode/payments_poller/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ serde_json = { workspace = true }
99
serde_yaml = { workspace = true }
1010
aligned-sdk = { workspace = true }
1111
prometheus = { workspace = true }
12-
anyhow = { workspace = true }
1312
warp = { workspace = true }
1413
tracing = { version = "0.1", features = ["log"] }
1514
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }

aggregation_mode/payments_poller/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub struct PaymentsPollerMetrics {
77
}
88

99
impl PaymentsPollerMetrics {
10-
pub fn start(metrics_port: u16) -> anyhow::Result<Self> {
10+
pub fn start(metrics_port: u16) -> Result<Self, prometheus::Error> {
1111
let registry = prometheus::Registry::new();
1212

1313
let last_processed_block = register_gauge!(opts!(

0 commit comments

Comments
 (0)