Skip to content

Remove logger, messageType, and from params from VerifyQC#409

Merged
yacovm merged 1 commit into
mainfrom
406
Jun 15, 2026
Merged

Remove logger, messageType, and from params from VerifyQC#409
yacovm merged 1 commit into
mainfrom
406

Conversation

@yacovm

@yacovm yacovm commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

VerifyQC previously logged failures internally, which required threading a logger, a messageType string, and the originating node through every call. Since VerifyQC already returns a descriptive error, callers can log it themselves with whatever context they have.

VerifyQC now just validates and returns plain errors; the per-message-type debug logging moves to the call sites in epoch.go. verifyQuorumRound drops its now-unused from param accordingly.

VerifyQC previously logged failures internally, which required threading
a logger, a messageType string, and the originating node through every
call. Since VerifyQC already returns a descriptive error, callers can log
it themselves with whatever context they have.

VerifyQC now just validates and returns plain errors; the per-message-type
debug logging moves to the call sites in epoch.go. verifyQuorumRound drops
its now-unused from param accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@yacovm yacovm merged commit 5a6be7a into main Jun 15, 2026
6 checks passed
@yacovm yacovm deleted the 406 branch June 15, 2026 17:21
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