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

Add RialtoParachain <> Millau bridge to test deployments #1412

Merged
merged 9 commits into from
May 27, 2022

Conversation

svyatonik
Copy link
Contributor

@svyatonik svyatonik commented May 25, 2022

IMPORTANT: do not forget to change cli on test deployments when this is merged

closes #1411

WIP. Current issues and TODOs:

UPD: first issue seems to disappear after sometime. If everything else will be fixed, it may be extracted in a separate issue
UPD2: the reason of the second issue (log of the Millau node):

2022-05-26 09:57:12.009 TRACE tokio-runtime-worker runtime::bridge-messages: Cannot dispatch any more messages on lane [0, 0, 0, 0]. Weight: declared=1000000000, left=9000000    
2022-05-26 09:57:12.009 TRACE tokio-runtime-worker runtime::bridge-messages: Received messages: total=0, valid=0. Weight used: 2056399000/2056399000    
2022-05-26 09:57:12.009 TRACE tokio-runtime-worker runtime::bridge-messages: T::OnMessageAccepted callback has spent less weight than expected. Refunding: 260000000 - 0 = 260000000    

@svyatonik svyatonik added the A-chores Something that has to be done, as part of regular maintenance label May 25, 2022
@svyatonik svyatonik marked this pull request as draft May 25, 2022 12:57
@svyatonik svyatonik marked this pull request as ready for review May 27, 2022 14:17
svyatonik added a commit that referenced this pull request May 27, 2022
@svyatonik svyatonik enabled auto-merge (squash) May 27, 2022 14:24
@svyatonik svyatonik merged commit df5f8d2 into master May 27, 2022
@svyatonik svyatonik deleted the add-complex-parachains-relay-to-test-deployments branch May 27, 2022 14:32
Copy link
Collaborator

@serban300 serban300 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! I just left a small question and I posted some updates for README.md as part of #1537 .

#!/bin/bash
set -xeu

sleep 15
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add an initial sleep in the message generation scripts (relay-messages-to-millau-generator-entrypoint.sh for example) ? Otherwise I see that sometimes we get an error when sending the first message. Or is this desired ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean connection errors? That's fine. Actually all these sleeps are now redundant (imo), as the relay is able to wait for required nodes startup itself.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, connection errors. Ok.

@serban300
Copy link
Collaborator

Marking the PR as reviewed

serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
…1412)

* add RialtoParachain <> Millau bridge to test deployments

* flush (still not working, but possible fix in comments)

* proper fix

* fixed on-demand parachains relay case: if better relay header is delivered, then we must select para header that may be proved using this relay header

* dashboards

* fmt

* removing debugging code

* more cleanup
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
…1412)

* add RialtoParachain <> Millau bridge to test deployments

* flush (still not working, but possible fix in comments)

* proper fix

* fixed on-demand parachains relay case: if better relay header is delivered, then we must select para header that may be proved using this relay header

* dashboards

* fmt

* removing debugging code

* more cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-chores Something that has to be done, as part of regular maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add complex RialtoParachain <> Millau bridge to test deployments
2 participants