From 9e19dd1881647010815818333c1bb5d0a637a6c2 Mon Sep 17 00:00:00 2001 From: Marko Baricevic Date: Tue, 7 Jun 2022 23:58:37 +0200 Subject: [PATCH] remove unused code --- testutil/simapp/simapp.go | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/testutil/simapp/simapp.go b/testutil/simapp/simapp.go index 553fd0f757..f18de89c9f 100644 --- a/testutil/simapp/simapp.go +++ b/testutil/simapp/simapp.go @@ -3,40 +3,19 @@ package simapp import ( "encoding/json" "testing" - "time" "github.com/cosmos/cosmos-sdk/simapp" ibctesting "github.com/cosmos/ibc-go/v3/testing" "github.com/tendermint/spm/cosmoscmd" - abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmtypes "github.com/tendermint/tendermint/types" tmdb "github.com/tendermint/tm-db" appConsumer "github.com/cosmos/interchain-security/app/consumer" appProvider "github.com/cosmos/interchain-security/app/provider" ) -var defaultConsensusParams = &abci.ConsensusParams{ - Block: &abci.BlockParams{ - MaxBytes: 200000, - MaxGas: 2000000, - }, - Evidence: &tmproto.EvidenceParams{ - MaxAgeNumBlocks: 302400, - MaxAgeDuration: 504 * time.Hour, // 3 weeks is the max duration - MaxBytes: 10000, - }, - Validator: &tmproto.ValidatorParams{ - PubKeyTypes: []string{ - tmtypes.ABCIPubKeyTypeEd25519, - }, - }, -} - func SetupTestingappProvider() (ibctesting.TestingApp, map[string]json.RawMessage) { db := tmdb.NewMemDB() // encCdc := app.MakeTestEncodingConfig()