From 84a53042acb733ae2033748c9218e9ce6c1b1dd9 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 9 Dec 2024 17:33:28 +0100 Subject: [PATCH] Addendum to 100% block fill rate. (#19006) --- chia/_tests/core/mempool/test_mempool_manager.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chia/_tests/core/mempool/test_mempool_manager.py b/chia/_tests/core/mempool/test_mempool_manager.py index cf7aab4da9b0..257181a539bc 100644 --- a/chia/_tests/core/mempool/test_mempool_manager.py +++ b/chia/_tests/core/mempool/test_mempool_manager.py @@ -2045,9 +2045,7 @@ async def fill_mempool_with_test_sbs( # and without them we won't be able to get the test bundle in. # This defaults to `MAX_BLOCK_COST_CLVM // 2` full_node_api.full_node._mempool_manager.max_tx_clvm_cost = max_block_clvm_cost - # This defaults to `MAX_BLOCK_COST_CLVM * BLOCK_SIZE_LIMIT_FACTOR` - # TODO: Revisit this when we eventually raise the fille rate to 100% - # and `BLOCK_SIZE_LIMIT_FACTOR` is no longer relevant. + # This defaults to `MAX_BLOCK_COST_CLVM - BLOCK_OVERHEAD` full_node_api.full_node._mempool_manager.mempool.mempool_info = dataclasses.replace( full_node_api.full_node._mempool_manager.mempool.mempool_info, max_block_clvm_cost=CLVMCost(max_block_clvm_cost),