Skip to content

Commit

Permalink
chore: fix description of stateless tx validator config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArniStarkware committed Jun 16, 2024
1 parent c94d1d7 commit 66416d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
4 changes: 2 additions & 2 deletions crates/gateway/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit 66416d3

Please sign in to comment.