Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-zq committed Jul 22, 2024
1 parent a3fcf25 commit b3635f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions x/evm/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
"github.com/cosmos/cosmos-sdk/codec"
store "github.com/cosmos/cosmos-sdk/store/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"

storetypes "github.com/cosmos/cosmos-sdk/store/types"
modulev1 "github.com/evmos/ethermint/api/ethermint/evm/module/v1"
"github.com/evmos/ethermint/x/evm/keeper"
"github.com/evmos/ethermint/x/evm/types"
Expand Down Expand Up @@ -46,9 +46,8 @@ func (am AppModule) IsAppModule() {}
type Inputs struct {
depinject.In

StoreKey storetypes.StoreKey
// key to access the transient store, which is reset on every block during Commit
TransientKey storetypes.StoreKey
StoreKey *store.KVStoreKey
TransientKey *store.TransientStoreKey
Config *modulev1.Module
Cdc codec.BinaryCodec
AccountKeeper types.AccountKeeper
Expand Down
7 changes: 3 additions & 4 deletions x/feemarket/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
"github.com/cosmos/cosmos-sdk/codec"
store "github.com/cosmos/cosmos-sdk/store/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"

storetypes "github.com/cosmos/cosmos-sdk/store/types"
modulev1 "github.com/evmos/ethermint/api/ethermint/feemarket/module/v1"
"github.com/evmos/ethermint/x/feemarket/keeper"
"github.com/evmos/ethermint/x/feemarket/types"
Expand Down Expand Up @@ -44,9 +44,8 @@ func (am AppModule) IsAppModule() {}
type Inputs struct {
depinject.In

StoreKey storetypes.StoreKey
// key to access the transient store, which is reset on every block during Commit
TransientKey storetypes.StoreKey
StoreKey *store.KVStoreKey
TransientKey *store.TransientStoreKey
Config *modulev1.Module
Cdc codec.BinaryCodec

Expand Down

0 comments on commit b3635f1

Please sign in to comment.