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

Revamp and improve testing for Rococo <> Westend bridge #2640

Open
5 of 6 tasks
svyatonik opened this issue Oct 19, 2023 · 2 comments
Open
5 of 6 tasks

Revamp and improve testing for Rococo <> Westend bridge #2640

svyatonik opened this issue Oct 19, 2023 · 2 comments
Assignees
Labels
A-chores Something that has to be done, as part of regular maintenance
Milestone

Comments

@svyatonik
Copy link
Contributor

svyatonik commented Oct 19, 2023

Since we are going to migrate to polkadot-sdk repo soon (hopefully soon after v1 deployment), let's start with preparing some scriptps + dashboards to test our code on live Rococo <> Westend bridge. We'll drop Rilato<>Millau soon, so the goal is to try to keep as most test cases from there as possible. Obviously, we need to migrate existing dashboards + alerts too

What we have now for Rococo <> Wococo and what shall be directly migrated to Rococo <> Westend:

  • periodically send messages from R to W and in opposite direction;
  • alerts and dashboards.

Which tests may be ported from Rialto <> Millau to live Rococo <> Westend:

  • periodically send messages from R to W and in opposite direction (will be ported from Rococo <> Wococo);
  • most of dashboards and alerts (will be ported from Rococo <> Wococo);
  • periodically send large batch of messages from R to W and in opposite direction. We'll achieve that by utilizing the same script that we use now for sending single messages. So e.g. once per day it'll send a batch of messages

What we can not do on live Rococo <> Westend:

  • send arbitrary messages (size and/or weight);
  • assume that if something breaks and we see alerts, then it is the bridge issue. Rialto<>Millau is restarted daily, so we e.g. replenish all our accounts (message senders, relays, ...). Here we could break everything by simply not doing something on time;
  • test bridge between GRANDPA chains.

What new can be tested with live Rococo <> Westend:

  • test bridge between parachains. That's actually automatic
@svyatonik svyatonik added the A-chores Something that has to be done, as part of regular maintenance label Oct 19, 2023
@svyatonik svyatonik added this to the Nice To Have milestone Oct 19, 2023
@svyatonik svyatonik self-assigned this Oct 19, 2023
@svyatonik
Copy link
Contributor Author

Ok, I totally forgot about the issue I had with polkadot-js-apps + a bunch of transactions. TLDR: it limits a number of transactions by the same signer to 1 per block. We can write our own js package, but I've proposed polkadot-js/tools#511 - hope we will be able to use it at our deployments.

In any case - unless we pause/kill our relayer, we won't be able to reach the outbound messages limit at the source BH, because it takes some time to submit tx, so in 6s we'll have a limited number of messages. But it should at least show that we are able to deliver messages in batches

@svyatonik
Copy link
Contributor Author

need a new docker image: paritytech/scripts#620

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

No branches or pull requests

2 participants