test: move slash redelegation test to integration (#19581)

This commit is contained in:
Julien Robert
2024-02-28 10:09:38 +00:00
committed by GitHub
parent a248d05f70
commit e4d97090d8
9 changed files with 44 additions and 32 deletions
-1
View File
@@ -176,7 +176,6 @@ func TestAppImportExport(t *testing.T) {
ctxA := app.NewContextLegacy(true, cmtproto.Header{Height: app.LastBlockHeight()})
ctxB := newApp.NewContextLegacy(true, cmtproto.Header{Height: app.LastBlockHeight()})
_, err = newApp.ModuleManager.InitGenesis(ctxB, app.AppCodec(), genesisState)
if err != nil {
if strings.Contains(err.Error(), "validator set is empty after InitGenesis") {
logger.Info("Skipping simulation as all validators have been unbonded")