Fix Sse client api (#6685)

* Use reqwest eventsource for get_events api

* await for Event::Open before returning stream

* fmt

* Merge branch 'unstable' into sse-client-fix

* Ignore lint
This commit is contained in:
Pawan Dhananjay
2024-12-18 05:35:58 +05:30
committed by GitHub
parent 1315c94adb
commit 2662dc7f8f
5 changed files with 65 additions and 29 deletions

View File

@@ -2796,6 +2796,7 @@ async fn finalizes_after_resuming_from_db() {
);
}
#[allow(clippy::large_stack_frames)]
#[tokio::test]
async fn revert_minority_fork_on_resume() {
let validator_count = 16;