Skip to content

Backport #1203, #1231: Avoid process proposal when correct nodes validated it; prevote nil when proposal != locked block#21

Merged
teddyding merged 1 commit intodydx-fork-v0.37.2from
td/CORE-524-3
Sep 6, 2023
Merged

Backport #1203, #1231: Avoid process proposal when correct nodes validated it; prevote nil when proposal != locked block#21
teddyding merged 1 commit intodydx-fork-v0.37.2from
td/CORE-524-3

Conversation

@teddyding
Copy link

@teddyding teddyding commented Sep 6, 2023

Backport two PRs from cometbft/cometbft main:

Note: these PRs replace previous hot fix in #14

@linear
Copy link

linear bot commented Sep 6, 2023

// }
//
// Determine if the proposed block has a sane, non-nil proof-of-lock.
if cs.Proposal.POLRound >= 0 && cs.Proposal.POLRound < cs.Round {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is replaced by upstream fix, on line 1395

@teddyding
Copy link
Author

Test / tests (03) (pull_request) is currently timing out; however the test TestDontExhaustMaxActiveIDs passes locally and this PR has no affect on peering/reactor.

@teddyding teddyding merged commit 08b4fb6 into dydx-fork-v0.37.2 Sep 6, 2023
@teddyding teddyding deleted the td/CORE-524-3 branch September 6, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants