Skip to content

Commit

Permalink
Temporarily comment out simapp. Reason: https://docs.cosmos.network/v…
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Feb 22, 2024
1 parent 767bdc4 commit aa5c446
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/cosmos/cosmos-sdk/server/api"
"github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/simapp"
// "github.com/cosmos/cosmos-sdk/simapp"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
Expand Down Expand Up @@ -112,7 +112,7 @@ var (

// Verify app interface at compile time
var (
_ simapp.App = (*SecretNetworkApp)(nil)
// _ simapp.App = (*SecretNetworkApp)(nil)
_ servertypes.Application = (*SecretNetworkApp)(nil)
_ servertypes.ApplicationQueryService = (*SecretNetworkApp)(nil)
)
Expand Down Expand Up @@ -326,7 +326,7 @@ func (app *SecretNetworkApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBloc

// InitChainer application update at chain initialization
func (app *SecretNetworkApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain {
var genesisState simapp.GenesisState
// var genesisState simapp.GenesisState
if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion x/compute/internal/keeper/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
crypto "github.com/cosmos/cosmos-sdk/crypto/types"
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
// simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/std"
"cosmossdk.io/store"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down
4 changes: 2 additions & 2 deletions x/mauth/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/cosmos/cosmos-sdk/simapp"
// "github.com/cosmos/cosmos-sdk/simapp"
"github.com/scrtlabs/SecretNetwork/x/compute"

"github.com/stretchr/testify/suite"
Expand Down Expand Up @@ -43,7 +43,7 @@ func init() {
func SetupICATestingApp() (ibctesting.TestingApp, map[string]json.RawMessage) {
db := dbm.NewMemDB()
// encCdc := icaapp.MakeEncodingConfig()
app := icaapp.NewSecretNetworkApp(log.NewNopLogger(), db, nil, true, map[int64]bool{}, icaapp.DefaultNodeHome, 5, false, simapp.EmptyAppOptions{}, compute.DefaultWasmConfig())
// app := icaapp.NewSecretNetworkApp(log.NewNopLogger(), db, nil, true, map[int64]bool{}, icaapp.DefaultNodeHome, 5, false, simapp.EmptyAppOptions{}, compute.DefaultWasmConfig())
// TODO: figure out if it's ok that w MakeEncodingConfig inside of our Genesis.go. It would be a different instance than the one used in app
return app, icaapp.NewDefaultGenesisState()
}
Expand Down
2 changes: 1 addition & 1 deletion x/registration/internal/keeper/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/cosmos/cosmos-sdk/simapp/params"
// "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/std"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth"
Expand Down

0 comments on commit aa5c446

Please sign in to comment.