Skip to content

Conversation

@bkontur
Copy link
Contributor

@bkontur bkontur commented Apr 2, 2024

Closes: #1756

@bkontur bkontur added R0-no-crate-publish-required The change does not require any crates to be re-published. T6-XCM This PR/Issue is related to XCM. labels Apr 2, 2024
@bkontur bkontur requested a review from a team as a code owner April 2, 2024 20:43
@bkontur bkontur enabled auto-merge April 3, 2024 10:48
SetTopic([0; 32]),
]);

let test_data = vec![
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Not very important, but personally I would find it easier to follow and I think it would also be more extensible if we just asserted each case separately instead of iterating through a vec. I don't think it would create a lot of duplication.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw this pattern on several other places and also used it elsewhere, where I had much more test data (corner) cases than just 4 here :)

As a part of #3692 I will add a new barrier, so I will come back to this and simplify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T6-XCM This PR/Issue is related to XCM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SubscribeVersion from the Relay will be blocked by new parachains

5 participants