Since the API does not explicitly call for appending to updates, it is unintuitive for updates to not clear on each registerVotes call. This can lead to difficult to debug unit test failures where registerVotes appears to emit updates that were actually from past calls but never cleared.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC221da91fe481: [avalanche] Clear updates on each call to registerVotes
ninja check-avalanche-processor_tests
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- ava-register-clear-updates
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 32205 Build 63900: Build Diff lint-circular-dependencies · build-without-wallet · build-diff · build-clang · build-debug · build-clang-tidy Build 63899: arc lint + arc unit
Event Timeline
src/avalanche/processor.cpp | ||
---|---|---|
601 | not here, do it unconditionally at the beginning of the function |