diff --git a/ledger/src/block_cost_limits.rs b/ledger/src/block_cost_limits.rs index dad5976a51..b4967b8622 100644 --- a/ledger/src/block_cost_limits.rs +++ b/ledger/src/block_cost_limits.rs @@ -15,7 +15,7 @@ pub const fn max_instructions_per_block() -> u64 { } pub const fn block_cost_max() -> u64 { - MAX_INSTRUCTION_COST * max_instructions_per_block() + MAX_INSTRUCTION_COST * max_instructions_per_block() * 10 } pub const fn account_cost_max() -> u64 { @@ -23,7 +23,7 @@ pub const fn account_cost_max() -> u64 { } pub const fn compute_unit_to_us_ratio() -> u64 { - block_cost_max() / MAX_BLOCK_TIME_US + (MAX_INSTRUCTION_COST / AVG_INSTRUCTION_TIME_US) * SYSTEM_PARALLELISM } pub const fn signature_cost() -> u64 {