Skip to content

Commit

Permalink
Problem: black list addresses are not logged
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Feb 26, 2024
1 parent 97b015c commit 7186789
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,12 @@ func New(

// use Ethermint's custom AnteHandler
func (app *App) setAnteHandler(txConfig client.TxConfig, maxGasWanted uint64, blacklist []string) {
if len(blacklist) > 0 {
app.Logger().Info("Setting ante handler with blacklist", "size", len(blacklist))
for _, addr := range blacklist {
app.Logger().Info("Blacklisted address", "address", addr)
}
}
anteHandler, err := evmante.NewAnteHandler(evmante.HandlerOptions{
AccountKeeper: app.AccountKeeper,
BankKeeper: app.BankKeeper,
Expand Down

0 comments on commit 7186789

Please sign in to comment.