paritytech / parity-bridges-common

Collection of Useful Bridge Building Tools 🏗️
GNU General Public License v3.0
270 stars 132 forks source link

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

Open svyatonik opened 11 months ago

svyatonik commented 11 months ago

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:

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

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

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

svyatonik commented 9 months ago

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 https://github.com/polkadot-js/tools/pull/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 commented 8 months ago

need a new docker image: https://github.com/paritytech/scripts/pull/620