Skip to content

Commit

Permalink
fix initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Aug 30, 2024
1 parent 88c14cc commit 956d3a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func NewAppKeeper(
appKeepers.CapabilityKeeper.Seal()

// add keepers
appKeepers.EVMKeeper = &evmkeeper.Keeper{}
appKeepers.EVMKeeper = new(evmkeeper.Keeper)
erc20Keeper := new(evmkeeper.ERC20Keeper)
erc721Keeper := new(evmkeeper.ERC721Keeper)

Expand Down Expand Up @@ -545,7 +545,7 @@ func NewAppKeeper(
// EVMKeeper Configuration //
//////////////////////////////

appKeepers.EVMKeeper = evmkeeper.NewKeeper(
*appKeepers.EVMKeeper = *evmkeeper.NewKeeper(
ac,
appCodec,
runtime.NewKVStoreService(appKeepers.keys[evmtypes.StoreKey]),
Expand Down

0 comments on commit 956d3a6

Please sign in to comment.