From 66416d3c991cda731c9ce9f2d6ec614116bd14a0 Mon Sep 17 00:00:00 2001 From: Arni Hod Date: Sun, 16 Jun 2024 15:08:48 +0300 Subject: [PATCH] chore: fix description of stateless tx validator config --- config/default_config.json | 4 ++-- crates/gateway/src/config.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/default_config.json b/config/default_config.json index 1f62547c..9b67a1f8 100644 --- a/config/default_config.json +++ b/config/default_config.json @@ -50,12 +50,12 @@ "value": 0 }, "gateway_config.stateless_tx_validator_config.max_calldata_length": { - "description": "Validates that a transaction has signature length less than or equal to this value.", + "description": "Validates that a transaction has calldata length less than or equal to this value.", "privacy": "Public", "value": 0 }, "gateway_config.stateless_tx_validator_config.max_signature_length": { - "description": "Validates that a transaction has calldata length less than or equal to this value.", + "description": "Validates that a transaction has signature length less than or equal to this value.", "privacy": "Public", "value": 0 }, diff --git a/crates/gateway/src/config.rs b/crates/gateway/src/config.rs index 431042dd..7ab3aa78 100644 --- a/crates/gateway/src/config.rs +++ b/crates/gateway/src/config.rs @@ -89,14 +89,14 @@ impl SerializeConfig for StatelessTransactionValidatorConfig { ser_param( "max_signature_length", &self.max_signature_length, - "Validates that a transaction has calldata length less than or equal to this \ + "Validates that a transaction has signature length less than or equal to this \ value.", ParamPrivacyInput::Public, ), ser_param( "max_calldata_length", &self.max_calldata_length, - "Validates that a transaction has signature length less than or equal to this \ + "Validates that a transaction has calldata length less than or equal to this \ value.", ParamPrivacyInput::Public, ),