Skip to content

Commit

Permalink
remove bank precompile
Browse files Browse the repository at this point in the history
  • Loading branch information
peara committed May 22, 2024
1 parent 11e3600 commit 5a1e13b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/evm_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
channelkeeper "github.com/cosmos/ibc-go/v7/modules/core/04-channel/keeper"
bankprecompile "github.com/evmos/evmos/v16/precompiles/bank"
ics20precompile "github.com/evmos/evmos/v16/precompiles/ics20"
"github.com/evmos/evmos/v16/precompiles/p256"
erc20Keeper "github.com/evmos/evmos/v16/x/erc20/keeper"
Expand Down Expand Up @@ -61,11 +60,6 @@ func Precompiles(
panic(fmt.Errorf("failed to instantiate ICS20 precompile: %w", err))
}

bankPrecompile, err := bankprecompile.NewPrecompile(bankKeeper, erc20Keeper)
if err != nil {
panic(fmt.Errorf("failed to instantiate bank precompile: %w", err))
}

// Stateless precompiles
precompiles[bech32Precompile.Address()] = bech32Precompile
precompiles[p256Precompile.Address()] = p256Precompile
Expand All @@ -74,7 +68,6 @@ func Precompiles(
precompiles[stakingPrecompile.Address()] = stakingPrecompile
precompiles[distributionPrecompile.Address()] = distributionPrecompile
precompiles[ibcTransferPrecompile.Address()] = ibcTransferPrecompile
precompiles[bankPrecompile.Address()] = bankPrecompile

return precompiles
}

0 comments on commit 5a1e13b

Please sign in to comment.