We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e6072 commit b530dc3Copy full SHA for b530dc3
portal-bridge/src/bridge.rs
@@ -86,9 +86,16 @@ impl Bridge {
86
.expect("Error parsing history test assets.");
87
88
for asset in assets.0.into_iter() {
89
- Bridge::gossip_content(&self.portal_clients, asset.content_key, asset.content_value)
90
- .await
91
- .expect("Error serving block range in test mode.");
+ Bridge::gossip_content(
+ &self.portal_clients,
+ asset.content_key.clone(),
92
+ asset.content_value,
93
+ )
94
+ .await
95
+ .expect("Error serving block range in test mode.");
96
+ if let HistoryContentKey::BlockHeaderWithProof(_) = asset.content_key {
97
+ sleep(Duration::from_millis(50)).await;
98
+ }
99
}
100
101
0 commit comments