From 6763ab37e0f494b6e1c6c6954cf9065ddbeda385 Mon Sep 17 00:00:00 2001 From: Alexey Osipov Date: Tue, 24 Oct 2023 10:56:23 +0300 Subject: [PATCH] Enable blob tx pool for Nethermind --- clients/nethermind/mkconfig.jq | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/clients/nethermind/mkconfig.jq b/clients/nethermind/mkconfig.jq index 5b64909cbb..ed2e74fee2 100644 --- a/clients/nethermind/mkconfig.jq +++ b/clients/nethermind/mkconfig.jq @@ -69,6 +69,19 @@ def sync_config: end ; +def txpool_config: + if env.HIVE_CANCUN_TIMESTAMP != null then + { + "TxPool": { + "BlobSupportEnabled": true, + "PersistentBlobStorageEnabled": true + } + } + else + {} + end +; + def base_config: { "Init": { @@ -101,4 +114,4 @@ def base_config: ; # This is the main expression that outputs the config. -base_config * keystore_config * merge_config * json_rpc_config * sync_config +base_config * keystore_config * merge_config * json_rpc_config * sync_config * txpool_config