Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Oct 12, 2023
1 parent 804e0ef commit dea8e71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/cosmwasmpool/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ func (s *PoolModuleSuite) TestExportGenesis() {

genesis := s.App.CosmwasmPoolKeeper.ExportGenesis(s.Ctx)
s.Require().Len(genesis.Pools, 2)

for _, pool := range genesis.Pools {
s.Require().Equal("/osmosis.cosmwasmpool.v1beta1.CosmWasmPool", pool.GetTypeUrl())
}
}

func (s *PoolModuleSuite) TestMarshalUnmarshalGenesis() {
Expand Down

0 comments on commit dea8e71

Please sign in to comment.