Skip to content

Commit c327beb

Browse files
committed
fix: lints
1 parent d88bdbf commit c327beb

File tree

12 files changed

+17
-23
lines changed

12 files changed

+17
-23
lines changed

src/vit-testing/iapyx/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ mod exports {
2424
};
2525
pub use crate::load::{
2626
ArtificialUserLoad, ArtificialUserLoadError, MultiController, MultiControllerError,
27-
NodeLoad, NodeLoadConfig, NodeLoadError, ServicingStationLoad, ServicingStationLoadError,
27+
NodeLoad, NodeLoadError, ServicingStationLoad, ServicingStationLoadError,
2828
VoteStatusProvider, WalletRequestGen,
2929
};
30+
3031
pub use crate::utils::{expiry, qr};
3132
pub use crate::wallet::{Error as WalletError, Wallet};
3233
}

src/vit-testing/iapyx/src/load/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mod config;
1+
pub mod config;
22
mod multi_controller;
33
mod request_generators;
44
mod scenario;

src/vit-testing/iapyx/src/load/scenario/node.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::load::multi_controller::MultiControllerError;
22
use crate::load::request_generators::RequestGenError;
33
use crate::load::request_generators::{BatchWalletRequestGen, WalletRequestGen};
44
use crate::load::status_provider::VoteStatusProvider;
5-
use crate::load::NodeLoadConfig;
5+
use crate::NodeLoadConfig;
66
use crate::NodeLoadError;
77
use jortestkit::measurement::EfficiencyBenchmarkFinish;
88
use thiserror::Error;

src/vit-testing/vitup/src/builders/helpers/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mod archive;
2-
mod qr;
2+
pub mod qr;
33
mod static_data;
44
mod time;
5-
mod vote_plan;
5+
pub mod vote_plan;
66

77
pub use self::time::{convert_to_blockchain_date, convert_to_human_date};
88
pub use archive::{

src/vit-testing/vitup/src/builders/helpers/vote_plan.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use chain_impl_mockchain::testing::scenario::template::ProposalDefBuilder;
44
use chain_impl_mockchain::testing::TestGen;
55
use hersir::builder::VotePlanKey;
66
use hersir::config::{CommitteeTemplate, PrivateParameters, VotePlanTemplate};
7-
pub use jormungandr_lib::interfaces::Initial;
87
use jormungandr_lib::interfaces::{BlockDate, TokenIdentifier};
98
use std::iter;
109

src/vit-testing/vitup/src/builders/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
mod helpers;
1+
pub mod helpers;
22
mod reviews;
33
pub mod utils;
44

5+
use crate::builders::helpers::VitVotePlanDefBuilder;
56
pub use crate::builders::helpers::{build_current_fund, build_servicing_station_parameters};
67
use crate::builders::utils::DeploymentTree;
78
use crate::config;
@@ -17,14 +18,13 @@ use config::Block0Initial::Wallet;
1718
pub use helpers::{
1819
convert_to_blockchain_date, convert_to_human_date, discover_archive_input_files,
1920
generate_qr_and_hashes, get_configuration_from_file_url, ArchiveConfError,
20-
ArchiveConfiguration, VitVotePlanDefBuilder, WalletExtension,
21+
ArchiveConfiguration,
2122
};
2223
use hersir::builder::settings::Blockchain;
2324
use hersir::builder::Node;
2425
use hersir::builder::Topology;
2526
use hersir::config::{CommitteeTemplate, ExplorerTemplate, SessionSettings, WalletTemplate};
2627
use jormungandr_automation::jormungandr::PersistenceMode;
27-
pub use jormungandr_lib::interfaces::Initial;
2828
use jormungandr_lib::interfaces::NumberOfSlotsPerEpoch;
2929
use jormungandr_lib::interfaces::SlotDuration;
3030
use jormungandr_lib::interfaces::TokenIdentifier as TokenIdentifierLib;

src/vit-testing/vitup/src/cli/generate/data/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mod random;
44

55
use crate::Result;
66
pub use external::ExternalDataCommandArgs;
7-
pub use jormungandr_lib::interfaces::Initial;
7+
88
pub use perf::PerfDataCommandArgs;
99
pub use random::{
1010
AllRandomDataCommandArgs, RandomReviewsDataCommandArgs, RandomScoresDataCommandArgs,

src/vit-testing/vitup/src/cli/start/quick.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use crate::builders::utils::logger;
2-
pub use crate::builders::{VitBackendSettingsBuilder, FOLLOWER, LEADER_1, LEADER_2, LEADER_3};
32
use crate::config::read_voter_hirs;
43
use crate::config::ConfigBuilder;
54
use crate::config::{

src/vit-testing/vitup/src/config/builder.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
pub use crate::builders::ReviewGenerator;
2-
pub use crate::builders::{
3-
convert_to_blockchain_date, convert_to_human_date, generate_qr_and_hashes,
4-
VitVotePlanDefBuilder, WalletExtension,
5-
};
1+
pub use crate::builders::convert_to_human_date;
62
use crate::config::Block0Initials;
73
use crate::config::{date_format, Initials};
84
use crate::config::{Config, VoteTime};

src/vit-testing/vitup/src/mode/standard/controllers/main.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use super::{
22
super::VitSettings,
33
vit_station::{
4-
dump_settings_to_file, BootstrapCommandBuilder, DbGenerator,
5-
Error as VitStationControllerError, RestClient, ValidVotePlanParameters,
6-
ValidVotingTemplateGenerator, VitStationController, VIT_CONFIG,
4+
controller::VitStationController, controller::VIT_CONFIG, dump_settings_to_file,
5+
BootstrapCommandBuilder, DbGenerator, Error as VitStationControllerError, RestClient,
6+
ValidVotePlanParameters, ValidVotingTemplateGenerator,
77
},
88
wallet_proxy::{Error as WalletProxyError, WalletProxyController, WalletProxySpawnParams},
99
};

src/vit-testing/vitup/src/mode/standard/controllers/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
mod explorer;
22
mod main;
3-
mod vit_station;
3+
pub mod vit_station;
44
mod wallet_proxy;
55

66
pub use vit_station::{
7+
controller::VitStationController, controller::VitStationSettings, controller::VIT_CONFIG,
78
generate_database, generate_random_database, DataError, DbGenerator,
89
Error as VitStationControllerError, ValidVotePlanParameters, ValidVotingTemplateGenerator,
9-
VitStationController, VitStationSettings,
1010
};
1111

1212
pub use wallet_proxy::{

src/vit-testing/vitup/src/mode/standard/controllers/vit_station/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mod controller;
1+
pub mod controller;
22
mod data;
33

44
pub use vit_servicing_station_tests::common::{
@@ -12,7 +12,6 @@ pub use vit_servicing_station_tests::common::{
1212

1313
pub use vit_servicing_station_lib::server::settings::dump_settings_to_file;
1414

15-
pub use controller::{VitStationController, VitStationSettings, VIT_CONFIG, VIT_STATION_LOG};
1615
pub use data::{generate_database, generate_random_database, DbGenerator, Error as DataError};
1716
use std::time::Duration;
1817
pub type Result<T> = std::result::Result<T, Error>;

0 commit comments

Comments
 (0)