Skip to content

Commit

Permalink
Merge branch 'main' into julien/wire-telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Sep 27, 2024
2 parents 11b33bb + 0d9b416 commit 97e19ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
* (sims) [#21613](https://github.com/cosmos/cosmos-sdk/pull/21613) Add sims2 framework and factory methods for simpler message factories in modules

### Bug Fixes

* (sims) [21906](https://github.com/cosmos/cosmos-sdk/pull/21906) Skip sims test when running dry on validators
* (sims) [#21952](https://github.com/cosmos/cosmos-sdk/pull/21952) Use liveness matrix for validator sign status in sims
* (sims) [#21906](https://github.com/cosmos/cosmos-sdk/pull/21906) Skip sims test when running dry on validators
* (cli) [#21919](https://github.com/cosmos/cosmos-sdk/pull/21919) Query address-by-acc-num by account_id instead of id.

### API Breaking Changes
Expand Down
5 changes: 4 additions & 1 deletion x/simulation/mock_cometbft.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,21 @@ func RandomRequestFinalizeBlock(
signed = false
}

var commitStatus cmtproto.BlockIDFlag
if signed {
event("begin_block", "signing", "signed")
commitStatus = cmtproto.BlockIDFlagCommit
} else {
event("begin_block", "signing", "missed")
commitStatus = cmtproto.BlockIDFlagAbsent
}

voteInfos[i] = abci.VoteInfo{
Validator: abci.Validator{
Address: SumTruncated(mVal.val.PubKeyBytes),
Power: mVal.val.Power,
},
BlockIdFlag: cmtproto.BlockIDFlagCommit,
BlockIdFlag: commitStatus,
}
}

Expand Down

0 comments on commit 97e19ff

Please sign in to comment.