-
Notifications
You must be signed in to change notification settings - Fork 0
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
test: only submit extensions to proposer #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good tbh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question
@@ -733,6 +736,12 @@ func (conR *Reactor) gossipVotesRoutine(peer p2p.Peer, ps *PeerState) { | |||
// Simple hack to throttle logs upon sleep. | |||
sleeping := 0 | |||
|
|||
consAddrHexBz, err := hex.DecodeString(string(peer.ID())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would move logic to a helper
6e03ea5
to
9d28ebb
Compare
@@ -2175,7 +2175,12 @@ func (cs *State) addVote(vote *types.Vote, peerID p2p.ID) (added bool, err error | |||
// Verify VoteExtension if precommit and not nil | |||
// https://github.com/tendermint/tendermint/issues/8487 | |||
if vote.Type == cmtproto.PrecommitType && !vote.BlockID.IsZero() && | |||
!bytes.Equal(vote.ValidatorAddress, myAddr) { // Skip the VerifyVoteExtension call if the vote was issued by this validator. | |||
!bytes.Equal(vote.ValidatorAddress, myAddr) && | |||
bytes.Equal(cs.state.NextValidators.Proposer.Address, myAddr) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be Nextvalidators
right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
feat: app hash error channel
No description provided.