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

feat(dot/parachain): Implement candidate validation subsystem skeleton #3916

Merged
merged 16 commits into from
May 29, 2024

Conversation

edwardmack
Copy link
Member

Changes

  • Create CandidateValidation struct
  • Implement stubs for interface 'dot/parachain/types/Subsystem`
  • Implement register candidate validation subsystem with overseer
  • Create skeleton structs for candidate validation messages: `ValidateFromChainState', 'ValidateFromExhaustive' and 'PreCheck'
  • Implement overseer forward message functionality.
  • move existing logic and test to 'candidvalidation' package
  • Noted TODO lines in code where additional functionality is to be implemented. (TODO: create issues for these)

Tests

 go test github.com/ChainSafe/gossamer/dot/parachain/candidate-validation

Issues

closes #3586

Primary Reviewer

@kishansagathiya @axaysagathiya

@edwardmack edwardmack self-assigned this Apr 23, 2024
@edwardmack edwardmack force-pushed the ed/feat/candidate_validation_skeleton branch 2 times, most recently from 215c59f to 2e5e252 Compare May 1, 2024 14:23
@edwardmack edwardmack marked this pull request as ready for review May 1, 2024 15:18
dot/parachain/candidate-validation/register.go Outdated Show resolved Hide resolved
dot/parachain/collator-protocol/validator_side.go Outdated Show resolved Hide resolved
dot/parachain/overseer/types.go Outdated Show resolved Hide resolved
@edwardmack edwardmack marked this pull request as draft May 14, 2024 14:04
@edwardmack edwardmack force-pushed the ed/feat/candidate_validation_skeleton branch from 4ae78db to 4d82c4c Compare May 15, 2024 22:10
@edwardmack edwardmack marked this pull request as ready for review May 17, 2024 21:48
dot/parachain/candidate-validation/mocks_runtime_test.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/mocks_test.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/register.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/messages.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/messages.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/messages.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/messages.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/candidate_validation.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/candidate_validation.go Outdated Show resolved Hide resolved
dot/parachain/candidate-validation/candidate_validation.go Outdated Show resolved Hide resolved
Copy link
Contributor

@axaysagathiya axaysagathiya left a comment

Choose a reason for hiding this comment

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

LGTM!

@edwardmack edwardmack merged commit ff28c9f into feat/parachain May 29, 2024
21 checks passed
@edwardmack edwardmack deleted the ed/feat/candidate_validation_skeleton branch May 29, 2024 13:26
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.

None yet

5 participants