diff --git a/crates/threshold-signature-server/src/helpers/tests.rs b/crates/threshold-signature-server/src/helpers/tests.rs index 05eab6fc9..479a7109c 100644 --- a/crates/threshold-signature-server/src/helpers/tests.rs +++ b/crates/threshold-signature-server/src/helpers/tests.rs @@ -72,6 +72,7 @@ pub async fn setup_client() -> KvManager { let _ = setup_latest_block_number(&kv_store).await; let configuration = Configuration::new(DEFAULT_ENDPOINT.to_string()); let app_state = AppState::new(configuration, kv_store.clone(), &Some(ValidatorName::Alice)); + app_state.make_ready(); let app = app(app_state).into_make_service(); @@ -107,6 +108,7 @@ pub async fn create_clients( } let app_state = AppState::new(configuration, kv_store.clone(), validator_name); + app_state.make_ready(); let account_id = app_state.subxt_account_id();