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

Investigate not advancing finality #3029

Closed
bkontur opened this issue Jul 15, 2024 · 4 comments
Closed

Investigate not advancing finality #3029

bkontur opened this issue Jul 15, 2024 · 4 comments
Assignees

Comments

@bkontur
Copy link
Contributor

bkontur commented Jul 15, 2024

Relates to the: #3028

  • Why is (21644740; 0] 0 for Polkadot?
  • Why is (24006086; 24006086] not advancing? even if actual Kusama block is 24051838?
  • Why after restart it sync just few header (24006086; 24009655] and then again continues without advancing (24009655; 24009655]?
2024-07-15 13:13:52	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:13:52 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:13:57	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:13:57 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:14:04	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:14:04 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:14:09	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:14:09 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:14:16	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:14:16 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:14:22	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:14:22 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:14:28	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:14:28 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:14:34	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:14:34 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:14:40	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:14:40 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:14:46	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:14:46 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:14:52	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:14:52 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:14:58	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:14:58 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:15:04	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:15:04 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:15:10	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:15:10 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:15:16	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:15:16 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:15:22	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:15:22 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:15:28	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:15:28 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:15:34	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:15:34 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:15:40	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:15:40 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:15:46	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:15:46 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:15:52	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:15:52 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:15:58	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:15:58 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:16:04	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:16:04 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:16:10	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:16:10 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:16:16	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:16:16 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:16:22	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:16:22 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:16:28	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:16:28 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:16:34	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:16:34 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:16:40	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:16:40 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:16:46	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:16:46 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:16:52	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:16:52 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:16:58	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:16:58 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:17:04	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:17:04 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:17:10	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:17:10 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:17:16	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:17:16 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:17:22	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:17:22 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:17:28	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:17:28 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:17:34	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:17:34 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:17:40	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:17:40 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:17:46	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:17:46 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:17:52	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:17:52 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:17:58	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:17:58 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:18:04	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:18:04 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:18:10	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:18:10 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:18:16	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:18:16 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:18:22	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:18:22 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:18:28	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:18:28 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:18:35	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:18:35 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:18:49	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:18:49 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:18:55	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:18:55 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:19:01	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:19:01 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:19:07	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:19:07 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:19:13	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:19:13 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:19:19	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:19:19 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:19:25	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:19:25 +00 TRACE bridge Considering range of headers (24006086; 24006086]
2024-07-15 13:19:31	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:19:31 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:19:59	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:19:59 +00 TRACE bridge Considering range of headers (24006086; 24009655]
2024-07-15 13:21:16	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:21:16 +00 TRACE bridge Considering range of headers (24009655; 24009655]
2024-07-15 13:21:28	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:21:28 +00 TRACE bridge Considering range of headers (24009655; 24009655]
2024-07-15 13:21:35	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:21:35 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:21:40	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:21:40 +00 TRACE bridge Considering range of headers (24009655; 24009655]
2024-07-15 13:21:46	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:21:46 +00 TRACE bridge Considering range of headers (24009655; 24009655]
2024-07-15 13:21:47	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:21:47 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:21:58	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:21:58 +00 TRACE bridge Considering range of headers (24009655; 24009655]
2024-07-15 13:21:59	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:21:59 +00 TRACE bridge Considering range of headers (21644740; 0]
2024-07-15 13:22:10	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 11:22:10 +00 TRACE bridge Considering range of headers (24009655; 24009655]
2024-07-15 13:22:11	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 11:22:11 +00 TRACE bridge Considering range of headers (21644740; 0]
@bkontur bkontur self-assigned this Jul 15, 2024
@bkontur
Copy link
Contributor Author

bkontur commented Jul 15, 2024

0 is maybe not the mistery, but related to the on demand stuff:

if let Some(ref maximal_header_number) = self.maximal_header_number {
			let maximal_header_number = *maximal_header_number.lock().await;
			if finalized_header_number > maximal_header_number {
				finalized_header_number = maximal_header_number;
			}
		}

and

let required_header_number = Arc::new(Mutex::new(Zero::zero()));

@bkontur
Copy link
Contributor Author

bkontur commented Jul 15, 2024

hmm, this bothers me also, because it is not advancing:

2024-07-15 15:55:17	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:55:17 +00 INFO bridge Synced 24052466 of 24052466 headers
2024-07-15 15:55:22	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 13:55:22 +00 INFO bridge Synced 21644740 of 0 headers

...

2024-07-15 15:55:29	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:55:29 +00 INFO bridge Synced 24052466 of 24052466 headers
2024-07-15 15:55:34	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 13:55:34 +00 INFO bridge Synced 21644740 of 0 headers

...

2024-07-15 15:55:41	[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:55:41 +00 INFO bridge Synced 24052466 of 24052466 headers
2024-07-15 15:55:46	[Polkadot_to_BridgeHubKusama_Sync] 2024-07-15 13:55:46 +00 INFO bridge Synced 21644740 of 0 headers

@bkontur
Copy link
Contributor Author

bkontur commented Jul 15, 2024

locally, just finality relay is advancing:

[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:45:59 +00 INFO bridge Synced 24052466 of 24053226 headers
[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:45:59 +00 TRACE bridge Considering range of headers (24052466; 24053226]

...

[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:58:37 +00 INFO bridge Synced 24052466 of 24053351 headers
[Kusama_to_BridgeHubPolkadot_Sync] 2024-07-15 13:58:37 +00 TRACE bridge Considering range of headers (24052466; 24053351]

@bkontur
Copy link
Contributor Author

bkontur commented Jul 15, 2024

it synced eventually, closing this for now

@bkontur bkontur closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant