-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use gateway config in mempool config
- Loading branch information
1 parent
a60cc4b
commit 0ff40fa
Showing
4 changed files
with
55 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 41 additions & 22 deletions
63
crates/mempool_node/src/test_files/mempool_node_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,42 @@ | ||
{ | ||
"components.gateway_component.execute": { | ||
"description": "The component execution flag.", | ||
"value": true, | ||
"privacy": "Public" | ||
}, | ||
"components.mempool_component.execute": { | ||
"description": "The component execution flag.", | ||
"value": false, | ||
"privacy": "Public" | ||
}, | ||
"gateway_config.ip": { | ||
"description": "The gateway server ip.", | ||
"value": "0.0.0.0", | ||
"privacy": "Public" | ||
}, | ||
"gateway_config.port": { | ||
"description": "The gateway server port.", | ||
"value": 8080, | ||
"privacy": "Public" | ||
} | ||
} | ||
|
||
"components.gateway_component.execute": { | ||
"description": "The component execution flag.", | ||
"privacy": "Public", | ||
"value": true | ||
}, | ||
"components.mempool_component.execute": { | ||
"description": "The component execution flag.", | ||
"privacy": "Public", | ||
"value": false | ||
}, | ||
"gateway_config.network_config.ip": { | ||
"description": "The gateway server ip.", | ||
"privacy": "Public", | ||
"value": "0.0.0.0" | ||
}, | ||
"gateway_config.network_config.port": { | ||
"description": "The gateway server port.", | ||
"privacy": "Public", | ||
"value": 8080 | ||
}, | ||
"gateway_config.stateless_transaction_validator_config.max_calldata_length": { | ||
"description": "Validates that a transaction has signature length less than or equal to this value.", | ||
"privacy": "Public", | ||
"value": 10 | ||
}, | ||
"gateway_config.stateless_transaction_validator_config.max_signature_length": { | ||
"description": "Validates that a transaction has calldata length less than or equal to this value.", | ||
"privacy": "Public", | ||
"value": 2 | ||
}, | ||
"gateway_config.stateless_transaction_validator_config.validate_non_zero_l1_gas_fee": { | ||
"description": "If true, validates that a transaction has non-zero L1 resource bounds.", | ||
"privacy": "Public", | ||
"value": true | ||
}, | ||
"gateway_config.stateless_transaction_validator_config.validate_non_zero_l2_gas_fee": { | ||
"description": "If true, validates that a transaction has non-zero L2 resource bounds.", | ||
"privacy": "Public", | ||
"value": false | ||
} | ||
} |