Skip to content

Commit

Permalink
fix: simapp adapt for EVM changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kakysha committed Oct 11, 2024
1 parent 376c453 commit 1551c2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ import (
ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint"
ibcmock "github.com/cosmos/ibc-go/v8/testing/mock"
ibctestingtypes "github.com/cosmos/ibc-go/v8/testing/types"
evmtypes "github.com/evmos/ethermint/x/evm/types"

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / build (arm)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / build (arm64)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (03)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly

Check failure on line 134 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/evmos/ethermint/x/evm/types: import lookup disabled by -mod=readonly
)

const appName = "SimApp"
Expand Down Expand Up @@ -312,6 +313,7 @@ func NewSimApp(

tkeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey, ibcmock.MemStoreKey)
objKeys := storetypes.NewObjectStoreKeys(banktypes.ObjectStoreKey, evmtypes.ObjectStoreKey)

Check failure on line 316 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / lint

undefined: storetypes.NewObjectStoreKeys (typecheck)

Check failure on line 316 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / lint

undefined: storetypes.NewObjectStoreKeys (typecheck)

app := &SimApp{
BaseApp: bApp,
Expand Down Expand Up @@ -359,6 +361,7 @@ func NewSimApp(
appCodec,
runtime.NewKVStoreService(keys[banktypes.StoreKey]),
runtime.NewTransientKVStoreService(tkeys[banktypes.TStoreKey]),
objKeys[banktypes.ObjectStoreKey],

Check failure on line 364 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / lint

undefined: banktypes.ObjectStoreKey (typecheck)

Check failure on line 364 in testing/simapp/app.go

View workflow job for this annotation

GitHub Actions / lint

undefined: banktypes.ObjectStoreKey (typecheck)
app.AccountKeeper,
BlockedAddresses(),
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
Expand Down

0 comments on commit 1551c2e

Please sign in to comment.