You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #6625: fix: adjust quorum rotation data results in some edge cases, add tests
8b9a728 chore: drop redundant debug logging in tests (UdjinM6)
4f57afa chore: fix clang format (UdjinM6)
275ed8e test: a few trivial checks for `quorum rotationinfo` RPC (UdjinM6)
9c98f99 fix: off-by-one: do not ignore the base block which matches the requested block (UdjinM6)
422a695 fix: default to genesis block as the last base block (UdjinM6)
Pull request description:
## Issue being fixed or feature implemented
Before this PR you could get `baseBlockHash` as all 0s for some cases. Also, a known `baseBlockHash` that matched the `cycleHash` was ignored which means that results included quorum changes from an older known `baseBlockHash` till the `cycleHash`(which is the same as the `baseBlockHash` in question) i.e. these changes were already known to the requester.
## What was done?
Pls see individual commits
## How Has This Been Tested?
Run tests
## Breaking Changes
n/a, results should simply be a bit more meaningful and compact
## 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
- [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
PastaPastaPasta:
utACK 8b9a728
Tree-SHA512: 88e5463ca0a40e3decb5cfcab948d7be2febc3583f7a24d455a5a93eb730e34c25246a1384fcfeea887a91348651e6250e226afa02b73f4403d8d10624a84d55
0 commit comments