fix(x/staking): add missing error check in simulation operations test (#25421)
Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
This commit is contained in:
co-authored by
Alex | Cosmos Labs
parent
ceea5c823d
commit
b0854ae429
@@ -147,8 +147,8 @@ func (s *SimTestSuite) TestWeightedOperations() {
|
||||
}
|
||||
|
||||
for i, w := range weightedOps {
|
||||
operationMsg, _, _ := w.Op()(s.r, s.app.BaseApp, s.ctx, s.accounts, s.ctx.ChainID())
|
||||
// require.NoError(t, err) // TODO check if it should be NoError
|
||||
operationMsg, _, err := w.Op()(s.r, s.app.BaseApp, s.ctx, s.accounts, s.ctx.ChainID())
|
||||
s.Require().NoError(err)
|
||||
|
||||
// the following checks are very much dependent from the ordering of the output given
|
||||
// by WeightedOperations. if the ordering in WeightedOperations changes some tests
|
||||
|
||||
Reference in New Issue
Block a user