diff --git a/CHANGELOG.md b/CHANGELOG.md index d7d6bf69e..117273966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ - [\#635](https://github.com/cosmos/evm/pull/635) Move DefaultStaticPrecompiles to /evm and allow projects to set it by default alongside the keeper. - [\#577](https://github.com/cosmos/evm/pull/577) Cleanup precompiles boilerplate code. - [\#648](https://github.com/cosmos/evm/pull/648) Move all `ante` logic such as `NewAnteHandler` from the `evmd` package to `evm/ante` so it can be used as library functions. +- [\#652](https://github.com/cosmos/evm/pull/652) Don't log "tx not found" errors during genesis initialization when using EVM mempool. ### FEATURES diff --git a/mempool/mempool.go b/mempool/mempool.go index a3a7aa62c..ff60a9f44 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -327,7 +327,7 @@ func (m *ExperimentalEVMMempool) Remove(tx sdk.Tx) error { m.logger.Debug("removing Cosmos transaction") err = m.cosmosPool.Remove(tx) - if err != nil { + if err != nil && !errors.Is(err, sdkmempool.ErrTxNotFound) { m.logger.Error("failed to remove Cosmos transaction", "error", err) } else { m.logger.Debug("Cosmos transaction removed successfully")