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

RialtoParachain <> Millau bridge is broken #2063

Closed
svyatonik opened this issue Apr 24, 2023 · 2 comments
Closed

RialtoParachain <> Millau bridge is broken #2063

svyatonik opened this issue Apr 24, 2023 · 2 comments
Assignees
Labels
A-bug Something isn't working

Comments

@svyatonik
Copy link
Contributor

Our test deployments are alive after 2w break and there's an issue now: messages from Millau to RialtoParachain are delivered with huge lags. E.g. when we push a bunch of messages to the queue, I can see that the number of generated messages is~1.28k and number of delivered messages stays 490 for almost 30m.

@svyatonik svyatonik added the A-bug Something isn't working label Apr 24, 2023
@svyatonik svyatonik self-assigned this Apr 24, 2023
@svyatonik
Copy link
Contributor Author

svyatonik commented Apr 24, 2023

Seems like it is related to #2030. I could see following in relay logs:

[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Received proof for nonces in range 1..=0 from Millau::MessagesDelivery
[Millau_to_RialtoParachain_MessageLane_00000000] 2023-04-24 07:41:04 +00 DEBUG bridge Asking Millau::MessagesDelivery to prove nonces in range 1..=0 at block HeaderId(636, 0xabd9d66f1840321dd6d6d8b5f82e52d2cb32cd40a3f8f91d5aa998b7c519451fc2489640dd40f73eebe9674893a2d6c17fb0755c6058529584e0ed92935d196f)

UPD1: selecting nonces 1..=0 seems valid, because:

[RialtoParachain_to_Millau_MessageLane_00000000] 2023-04-24 07:35:34 +00 DEBUG bridge Received best nonces from Millau::MessagesDelivery: TargetClientNonces { latest_nonce: 1265, nonces_data: DeliveryRaceTargetNoncesData { confirmed_nonce: 241, unrewarded_relayers: UnrewardedRelayersState { unrewarded_relayer_entries: 3, messages_in_oldest_entry: 449, total_messages: 1024, last_delivered_nonce: 1265 } } }

But:

  • why we're constantly asking for proof and not submitting it?
  • why we have so many unconfirmed rewards?

@svyatonik
Copy link
Contributor Author

Should be fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant