Skip to content

Commit

Permalink
fix test:
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed May 6, 2024
1 parent a44faa1 commit 227e94b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/multi-staking/keeper/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ func (suite *KeeperTestSuite) TestImportExportGenesis() {
},
)

newAppState, err := suite.app.ExportAppStateAndValidators(false, []string{})
emptyApp.Commit()

newAppState, err := emptyApp.ExportAppStateAndValidators(false, []string{})
newCommitHash := emptyApp.LastCommitID().Hash
suite.NoError(err)

suite.Equal(appState, newAppState)
suite.Equal(appState.AppState, newAppState.AppState)
suite.Equal(newCommitHash, oldCommitHash)
}

0 comments on commit 227e94b

Please sign in to comment.