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

Container candidates in dev service #747

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

girazoki
Copy link
Collaborator

@girazoki girazoki commented Nov 15, 2024

Adds the ability to inject container candidates on dancelights dev service. For now this remains as an opt-in that you can enable in your tests by calling the following rpc in dev mode:

  • mock_enableParaInherentCandidate

similarly you can disable it by calling:

  • mock_disableParaInherentCandidate

I also added a test that proves that when enabled, this mode makes the para-head progress in the relay, indicating the candidates are being inserted.

TODO in this PR:

  • [] Cleanup
  • [] tests with rewards being stored

Follow-up tests for future PRs would be:

  • AuthorNoting properly tested: now that we can inject proper headers, we should be able to properly test author-noting inherent, since we need the header to retrieve the author.
  • XCM tests: now that we have the ability to inject candidates we should also be able to put UMP messages in the candidates.

@girazoki girazoki changed the title Girazoki dev service comp Container candidates in dev service Nov 15, 2024
@girazoki girazoki added B0-silent Changes should not be mentioned in any release notes not-breaking Does not need to be mentioned in breaking changes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant