Skip to content

Commit

Permalink
Fix TestProtoUpgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalicevic committed Jan 12, 2025
1 parent b44473b commit 9d7c8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ func TestProtoUpgrade(t *testing.T) {
// Downgrade
if pbParams.GetFeature().GetVoteExtensionsEnableHeight().GetValue() > 0 {
pbParams.Abci = &cmtproto.ABCIParams{VoteExtensionsEnableHeight: pbParams.GetFeature().GetVoteExtensionsEnableHeight().GetValue()} //nolint: staticcheck
// pbParams.Feature.VoteExtensionsEnableHeight = nil
pbParams.Feature.VoteExtensionsEnableHeight = nil
}

oriParams := ConsensusParamsFromProto(pbParams)
Expand Down

0 comments on commit 9d7c8a3

Please sign in to comment.