mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Fix visibility
This commit is contained in:
@@ -36,30 +36,30 @@ pub const TEST_DEFAULT_FEE_RECIPIENT: Address = Address::repeat_byte(42);
|
|||||||
type E = MainnetEthSpec;
|
type E = MainnetEthSpec;
|
||||||
|
|
||||||
pub struct HdValidatorScenario {
|
pub struct HdValidatorScenario {
|
||||||
count: usize,
|
pub count: usize,
|
||||||
specify_mnemonic: bool,
|
pub specify_mnemonic: bool,
|
||||||
key_derivation_path_offset: u32,
|
pub key_derivation_path_offset: u32,
|
||||||
disabled: Vec<usize>,
|
pub disabled: Vec<usize>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct KeystoreValidatorScenario {
|
pub struct KeystoreValidatorScenario {
|
||||||
enabled: bool,
|
pub enabled: bool,
|
||||||
correct_password: bool,
|
pub correct_password: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Web3SignerValidatorScenario {
|
pub struct Web3SignerValidatorScenario {
|
||||||
count: usize,
|
pub count: usize,
|
||||||
enabled: bool,
|
pub enabled: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct ApiTester {
|
pub struct ApiTester {
|
||||||
client: ValidatorClientHttpClient,
|
pub client: ValidatorClientHttpClient,
|
||||||
initialized_validators: Arc<RwLock<InitializedValidators>>,
|
pub initialized_validators: Arc<RwLock<InitializedValidators>>,
|
||||||
validator_store: Arc<ValidatorStore<TestingSlotClock, E>>,
|
pub validator_store: Arc<ValidatorStore<TestingSlotClock, E>>,
|
||||||
url: SensitiveUrl,
|
pub url: SensitiveUrl,
|
||||||
_server_shutdown: oneshot::Sender<()>,
|
pub _server_shutdown: oneshot::Sender<()>,
|
||||||
_validator_dir: TempDir,
|
pub _validator_dir: TempDir,
|
||||||
_runtime_shutdown: exit_future::Signal,
|
pub _runtime_shutdown: exit_future::Signal,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Builds a runtime to be used in the testing configuration.
|
// Builds a runtime to be used in the testing configuration.
|
||||||
|
|||||||
Reference in New Issue
Block a user