Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enable new reactor in the e2e test #1657

Open
wants to merge 15 commits into
base: feature/recovery
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: race
evan-forbes committed Mar 10, 2025

Verified

This commit was signed with the committer’s verified signature.
evan-forbes Evan Forbes
commit 83421ac02b162c4abd60a0640710e2d7b019469c
4 changes: 1 addition & 3 deletions consensus/state.go
Original file line number Diff line number Diff line change
@@ -538,8 +538,6 @@ func (cs *State) SetProposalAndBlock(

func (cs *State) updateHeight(height int64) {
cs.metrics.Height.Set(float64(height))
cs.mtx.Lock()
defer cs.mtx.Unlock()
cs.Height = height
}

@@ -2588,7 +2586,7 @@ func (cs *State) syncData() {
if part == nil {
continue
}
cs.peerMsgQueue <- msgInfo{&BlockPartMessage{cs.Height, cs.Round, part}, ""}
cs.peerMsgQueue <- msgInfo{&BlockPartMessage{h, r, part}, ""}
}
}
}
Loading