From 8145c5dec51300888cf809e2970bbe462212cdcd Mon Sep 17 00:00:00 2001 From: Hesham Date: Wed, 1 May 2024 15:51:43 +0200 Subject: [PATCH] Update maximum gas price limit to 50 GWei in EthGasPriceConstants.cs --- VERSION.FUSE.txt | 2 +- .../Modules/Eth/GasPrice/EthGasPriceConstants.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION.FUSE.txt b/VERSION.FUSE.txt index 8b2dd6c36f4..9eefef7bd65 100644 --- a/VERSION.FUSE.txt +++ b/VERSION.FUSE.txt @@ -1 +1 @@ -4.0.5 \ No newline at end of file +4.0.6 \ No newline at end of file diff --git a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/GasPrice/EthGasPriceConstants.cs b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/GasPrice/EthGasPriceConstants.cs index f666e5ee66d..fe4b432e5a6 100644 --- a/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/GasPrice/EthGasPriceConstants.cs +++ b/src/Nethermind/Nethermind.JsonRpc/Modules/Eth/GasPrice/EthGasPriceConstants.cs @@ -13,7 +13,7 @@ public static class EthGasPriceConstants public const int DefaultBlocksLimitMaxPriorityFeePerGas = 100; //Limit for how many blocks we check txs in to add to sortedTxList in case of calculating max priority fee per gas public const int TxLimitFromABlock = 3; //Maximum number of tx we can add to sortedTxList from one block public const int DefaultIgnoreUnder = 2; //Effective Gas Prices under this are ignored - public static readonly UInt256 MaxGasPrice = 500.GWei(); //Maximum gas price we can return + public static readonly UInt256 MaxGasPrice = 50.GWei(); //Maximum gas price we can return public static readonly UInt256 FallbackMaxPriorityFeePerGas = 200.GWei(); } }