Skip to content

Commit 2ed485b

Browse files
committed
update versions
1 parent 0567c2f commit 2ed485b

File tree

9 files changed

+15
-21
lines changed

9 files changed

+15
-21
lines changed

Cargo.lock

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

docs/runbook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This page gathers the available guides to operate a Mithril network.
1010
|------------|------------|------------
1111
| **Genesis manually** | [manual-genesis](./genesis-manually/README.md) | Proceed to manual (re)genesis of the aggregator certificate chain.
1212
| **Era markers** | [era-markers](./era-markers/README.md) | Create and update era markers on the Cardano chain.
13-
| **Downloads statistics** | [downloads statistics](./statistics/README.md) | Display the number of downloads per day and per snapshot.
13+
| **Downloads statistics** | [downloads statistics](./statistics/README.md) | Display the number of downloads per day.
1414
| **Signer registrations monitoring** | [registrations-monitoring](./registrations-monitoring/README.md) | Gather aggregated data about signer registrations (versions, stake, ...).
1515
| **Update protocol parameters** | [protocol-parameters](./protocol-parameters/README.md) | Update the protocol parameters of a Mithril network.
1616
| **Recompute certificates hash** | [recompute-certificates-hash](./recompute-certificates-hash/README.md) | Recompute the certificates has of an aggregator.

docs/runbook/statistics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Statistics
22

3-
## Snapshot downloads per snapshot per day
3+
## Snapshot downloads per day
44

55
```sh
66
$> sqlite3 -table -batch \

docs/runbook/statistics/snapshot_downloads.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
select
2-
content->>'digest' as snapshot_digest,
32
date(created_at) as downloaded_at,
43
count(*) as downloads
54
from event
65
where
76
source = 'HTTP::statistics'
87
and action = 'snapshot_downloaded'
9-
group by 1, 2
8+
group by 1
109
order by
1110
downloaded_at desc,
1211
downloads desc

mithril-aggregator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-aggregator"
3-
version = "0.3.93"
3+
version = "0.3.94"
44
description = "A Mithril Aggregator server"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-client"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "A Mithril Client"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-client/src/aggregator_client/http_client.rs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,13 @@ impl AggregatorClient for AggregatorHTTPClient {
238238
let url = format!("{}/{}", self.aggregator_endpoint.trim_end_matches('/'), url);
239239
let response = self.post(&url, json).await?;
240240

241-
let body =
242-
response
243-
.text()
244-
.await
245-
.map_err(|e| AggregatorHTTPClientError::SubsystemError {
246-
message: "Could not find a text body in the response.".to_string(),
247-
error: e.into(),
248-
})?;
249-
250-
Ok(body)
241+
response
242+
.text()
243+
.await
244+
.map_err(|e| AggregatorHTTPClientError::SubsystemError {
245+
message: "Could not find a text body in the response.".to_string(),
246+
error: e.into(),
247+
})
251248
}
252249

253250
async fn download_unpack(

mithril-client/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,3 @@ pub mod utils;
1616

1717
pub use entities::*;
1818
pub use message_adapters::{FromCertificateMessageAdapter, FromSnapshotMessageAdapter};
19-
20-
pub const MITHRIL_CLIENT_VERSION_HEADER: &str = "client-node-version";

openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ info:
44
# `mithril-common/src/lib.rs` file. If you plan to update it
55
# here to reflect changes in the API, please also update the constant in the
66
# Rust file.
7-
version: 0.1.10
7+
version: 0.1.11
88
title: Mithril Aggregator Server
99
description: |
1010
The REST API provided by a Mithril Aggregator Node in a Mithril network.

0 commit comments

Comments
 (0)