From cc8842f43b69734d0d3478b9c0222536bf04f71d Mon Sep 17 00:00:00 2001 From: Rootul P Date: Mon, 17 Jun 2024 08:10:23 -0600 Subject: [PATCH] chore: remove outdated TODO (#1392) Closes https://github.com/celestiaorg/celestia-core/issues/1391 --- state/execution.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/state/execution.go b/state/execution.go index fc5a929af9..e5df352fb5 100644 --- a/state/execution.go +++ b/state/execution.go @@ -104,15 +104,8 @@ func (blockExec *BlockExecutor) CreateProposalBlock( evidence, evSize := blockExec.evpool.PendingEvidence(state.ConsensusParams.Evidence.MaxBytes) - // Fetch a limited amount of valid txs maxDataBytes := types.MaxDataBytes(maxBytes, evSize, state.Validators.Size()) - // TODO(ismail): reaping the mempool has to happen in relation to a max - // allowed square size instead of (only) Gas / bytes - // maybe the mempool actually should track things separately - // meaning that CheckTx should already do the mapping: - // Tx -> Txs, Message - // https://github.com/tendermint/tendermint/issues/77 txs := blockExec.mempool.ReapMaxBytesMaxGas(maxDataBytes, maxGas) var timestamp time.Time