From c0919e6fdee684852d01c7573172f3c4c5cdf045 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Mon, 12 Aug 2024 15:38:11 +0200 Subject: [PATCH] docs: fix --- runtime/common/src/evm/mod.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/runtime/common/src/evm/mod.rs b/runtime/common/src/evm/mod.rs index e0e2b8abd3..477b66371c 100644 --- a/runtime/common/src/evm/mod.rs +++ b/runtime/common/src/evm/mod.rs @@ -42,10 +42,9 @@ pub const WEIGHT_PER_GAS: u64 = WEIGHT_REF_TIME_PER_SECOND / GAS_PER_SECOND; // block_gas_limit.saturating_div(MAX_POV_SIZE) // }; // -// NOTE: The above results in a value of 2. AS this factor is a divisor -// generating a a storage limit we are conservative and use the value that -// moonbeam is using in their staging environment -// (https://github.com/moonbeam-foundation/moonbeam/blob/973015c376e8741073013094be88e7c58c716a70/runtime/moonriver/src/lib.rs#L408) +// NOTE: The above results in a value of 2. As this factor is a divisor +// generating a storage limit we are conservative and use the value that +// moonbeam is using in their staging environment pub const GAS_LIMIT_POV_SIZE_RATIO: u64 = 4; // pub const GasLimitStorageGrowthRatio: u64 =