Skip to content

fix(config)!: quorum type set to 0 during replay at genesis#570

Merged
lklimek merged 9 commits intov0.10-devfrom
llmq-quorum-types
Feb 7, 2023
Merged

fix(config)!: quorum type set to 0 during replay at genesis#570
lklimek merged 9 commits intov0.10-devfrom
llmq-quorum-types

Conversation

@lklimek
Copy link
Collaborator

@lklimek lklimek commented Feb 1, 2023

Issue being fixed or feature implemented

When a validator is restarted before committing new block, quorum type is set to 0.

What was done?

  • fixed the bug
  • deprecated quorum-type from config, we rely on genesis one
  • added additional logs for log-level trace

In future, we can consider moving quorum type to consensus params.

How Has This Been Tested?

github actions, devnet

Breaking Changes

  1. Config option quorum-type is deprecated and not used.
  2. validator_quorum_type in genesis doc is required.

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

@lklimek lklimek force-pushed the llmq-quorum-types branch 4 times, most recently from fc54584 to d421cff Compare February 3, 2023 11:12
@lklimek lklimek changed the title chore: verify quorum type sending request to core fix(config): quorum type set to 0 during replay at genesis Feb 3, 2023
@lklimek lklimek changed the title fix(config): quorum type set to 0 during replay at genesis fix(config)!: quorum type set to 0 during replay at genesis Feb 3, 2023
@lklimek lklimek marked this pull request as ready for review February 3, 2023 16:07
Copy link
Collaborator

@shotonoff shotonoff left a comment

Choose a reason for hiding this comment

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

LGTM
left one minor suggestion

@lklimek lklimek merged commit 246580e into v0.10-dev Feb 7, 2023
@lklimek lklimek deleted the llmq-quorum-types branch February 7, 2023 13:31
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