Skip to content

refactor: use llmq.Validate function to validate llmq type#590

Merged
shotonoff merged 1 commit intov0.10-devfrom
refactor-llmq-validation
Feb 22, 2023
Merged

refactor: use llmq.Validate function to validate llmq type#590
shotonoff merged 1 commit intov0.10-devfrom
refactor-llmq-validation

Conversation

@shotonoff
Copy link
Collaborator

@shotonoff shotonoff commented Feb 22, 2023

Issue being fixed or feature implemented

To avoid to maintain 2 validation functions, need to replace custom implementation on using native LLMQType.Validate method

What was done?

Replaced custom function ValidateQuorumType on to call LLMQType.Validate() method

How Has This Been Tested?

Tests

Breaking Changes

N/A

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

Copy link
Collaborator

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

👍

@shotonoff shotonoff merged commit 0dab2ca into v0.10-dev Feb 22, 2023
@shotonoff shotonoff deleted the refactor-llmq-validation branch February 22, 2023 13:58
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.

2 participants