Skip to content

Commit

Permalink
simplify SetupSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Aug 5, 2023
1 parent fb78b6f commit 818c49a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ func (s *IntegrationTestSuite) SetupSuite() {
}

s.ecfg = encoding.MakeConfig(app.ModuleEncodingRegisters...)
blobGenState := blobtypes.DefaultGenesis()
blobGenState.Params.GovMaxSquareSize = uint64(appconsts.DefaultSquareSizeUpperBound)
cfg := testnode.DefaultConfig().
WithAccounts(s.accounts).
WithGenesisOptions(testnode.SetBlobParams(s.ecfg.Codec, blobGenState.Params))
WithGenesisOptions(testnode.SetBlobParams(s.ecfg.Codec, blobtypes.DefaultGenesis().Params))

cctx, _, _ := testnode.NewNetwork(t, cfg)

Expand Down

0 comments on commit 818c49a

Please sign in to comment.