Skip to content

Commit 1c823a8

Browse files
committed
feature(protocol-config): crate renaming
1 parent 540d158 commit 1c823a8

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ members = [
1919
"internal/mithril-doc-derive",
2020
"internal/mithril-era",
2121
"internal/mithril-metric",
22-
"internal/mithril-network-config",
22+
"internal/mithril-protocol-config",
2323
"internal/mithril-persistence",
2424
"internal/mithril-resource-pool",
2525
"internal/mithril-ticker",

internal/mithril-network-config/Cargo.toml renamed to internal/mithril-protocol-config/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
2-
name = "mithril-network-config"
2+
name = "mithril-protocol-config"
33
version = "0.1.0"
4-
description = "Common services to access data through the mithril network"
4+
description = "Configuraton parameters of the mithril network"
55
authors = { workspace = true }
66
edition = { workspace = true }
77
homepage = { workspace = true }

internal/mithril-network-config/src/aggregator_client.rs renamed to internal/mithril-protocol-config/src/http/aggregator_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use mithril_common::{
1616
messages::EpochSettingsMessage,
1717
};
1818

19-
use crate::from_epoch_settings::FromEpochSettingsAdapter;
19+
use crate::http::from_epoch_settings::FromEpochSettingsAdapter;
2020
use crate::signer_epoch_settings::SignerEpochSettings;
2121

2222
const JSON_CONTENT_TYPE: HeaderValue = HeaderValue::from_static("application/json");
File renamed without changes.

internal/mithril-network-config/src/http.rs renamed to internal/mithril-protocol-config/src/http/http_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::{collections::BTreeSet, sync::Arc, time::Duration};
33

44
use crate::{
55
HTTP_REQUEST_TIMEOUT_DURATION,
6-
aggregator_client::{AggregatorClient, AggregatorHTTPClient},
6+
http::aggregator_client::{AggregatorClient, AggregatorHTTPClient},
77
interface::{MithrilNetworkConfiguration, MithrilNetworkConfigurationProvider},
88
};
99
use async_trait::async_trait;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mod aggregator_client;
2+
mod from_epoch_settings;
3+
mod http_impl;
File renamed without changes.

internal/mithril-network-config/src/lib.rs renamed to internal/mithril-protocol-config/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/// HTTP request timeout duration in milliseconds
22
const HTTP_REQUEST_TIMEOUT_DURATION: u64 = 30000;
3-
4-
mod aggregator_client;
5-
mod from_epoch_settings;
63
pub mod http;
74
pub mod interface;
85
pub mod signer_epoch_settings;
File renamed without changes.

0 commit comments

Comments
 (0)