Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test_loop] Convert current tests to use TestLoopV2 #11524

Merged
merged 9 commits into from
Jun 13, 2024
6 changes: 6 additions & 0 deletions chain/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ pub struct Client {
chunk_distribution_network: Option<ChunkDistributionNetwork>,
}

impl AsRef<Client> for Client {
fn as_ref(&self) -> &Client {
self
}
}

impl Client {
pub(crate) fn update_client_config(&self, update_client_config: UpdateableClientConfig) {
self.config.expected_shutdown.update(update_client_config.expected_shutdown);
Expand Down
Loading
Loading