Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVM support #4

Open
wants to merge 2 commits into
base: v8.3.x-inj
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
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/InjectiveLabs/injective-core/injective-chain/modules/evm/types"

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

View workflow job for this annotation

GitHub Actions / build (amd64)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / build (arm)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / build (arm64)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (03)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (00)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (01)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly

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

View workflow job for this annotation

GitHub Actions / tests (02)

cannot find module providing package github.com/InjectiveLabs/injective-core/injective-chain/modules/evm/types: import lookup disabled by -mod=readonly
)

const appName = "SimApp"
Expand Down Expand Up @@ -312,6 +314,7 @@

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

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

View workflow job for this annotation

GitHub Actions / lint

undefined: storetypes.NewObjectStoreKeys (typecheck)

Check failure on line 317 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,10 +362,11 @@
appCodec,
runtime.NewKVStoreService(keys[banktypes.StoreKey]),
runtime.NewTransientKVStoreService(tkeys[banktypes.TStoreKey]),
objKeys[banktypes.ObjectStoreKey],

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

View workflow job for this annotation

GitHub Actions / lint

undefined: banktypes.ObjectStoreKey (typecheck)

Check failure on line 365 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(),
logger,

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

View workflow job for this annotation

GitHub Actions / lint

too many arguments in call to bankkeeper.NewBaseKeeper

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

View workflow job for this annotation

GitHub Actions / lint

too many arguments in call to bankkeeper.NewBaseKeeper
)
app.StakingKeeper = stakingkeeper.NewKeeper(
appCodec, runtime.NewKVStoreService(keys[stakingtypes.StoreKey]), app.AccountKeeper, app.BankKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), authcodec.NewBech32Codec(sdk.Bech32PrefixValAddr), authcodec.NewBech32Codec(sdk.Bech32PrefixConsAddr),
Expand Down
Loading