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

Fix using unimported priority structs #81

Merged
merged 2 commits into from
Jun 11, 2024
Merged

Conversation

AndreiEres
Copy link
Contributor

@AndreiEres AndreiEres commented Jun 11, 2024

Fixes #80

v0.3.7 requires importing of priority related structs what conflicts with the definition of a patch version

In this PR priority related structs prefixed with #support_crate :: that points to otchestra so it doesn't require the explicit import to use #[subsystem].

However if the Sender trait is used it still requires to implement new methods send_message_with_priority and try_send_message_with_priority. This PR paritytech/polkadot-sdk#4763 shows required changes.

So I suggest bumping the library to v0.4.0. v0.3.7 should be yanked.

Copy link
Collaborator

@drahnr drahnr left a comment

Choose a reason for hiding this comment

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

It'd be good to get a regression test into the repo to avoid future issues like this.

@AndreiEres AndreiEres changed the title [WIP] Fix using unimported priority structs Fix using unimported priority structs Jun 11, 2024
@sandreim sandreim merged commit 3906536 into master Jun 11, 2024
7 checks passed
@AndreiEres AndreiEres deleted the AndreiEres/fix-v0.3.7 branch June 12, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 0.3.7 introduces breaking changes
3 participants