-
Notifications
You must be signed in to change notification settings - Fork 129
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
[BridgeHub] Add and run Basic unit tests #1672
Comments
Attaching the integrity test for Rialto -> Millau as an example:
|
Started adding integrity tests for Rococo -> Wococo and Wococo -> Rococo. There are 2 issues so far:
@bkontur @svyatonik do we plan to use
|
My guess that we'll be using
I've tried to find where we are using those |
Thanks for the answer !
@bkontur can I help with backporting this change ? Is there an issue for it ?
Ok, I can double check this and remove the |
@svyatonik I checked this and we use the |
Yeah, you're right, thank you! Then we need to change weights of our parachains Rococo/Wococo/Polkadot/Kusama bridge hubs to what Cumulus offers. Then it should be fine. Sorry for misleading you :/ |
@serban300 and to the weights, those block_weights in cumulus they are just copy/past from other cumulus runtimes,
|
That's a bit different weights - they're weights of calls, not block limits. And we yet need to find a way to deal with these. This should probably be a part of release process (manual) - i.e. we'll be checking that weights in our repo are close to what bridge hubs are using. Let's probably not touch it now |
@serban300 but I was thinking, if should better change that integrity test, to be more flexible: parity-bridges-common/bin/runtime-common/src/integrity.rs Lines 90 to 92 in 8649d12
for example |
Thanks! I'm taking a more detailed look on the tests to see what would be the best solution |
Resolved by paritytech/cumulus#1975 |
…ted PR. (#1672) Not a good idea as it turns out.
For Rococo - Wococo
The text was updated successfully, but these errors were encountered: