-
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: serialize config for stateless transaction validator config (#126)
- Loading branch information
1 parent
603a539
commit f5821cf
Showing
7 changed files
with
107 additions
and
24 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
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
22 changes: 22 additions & 0 deletions
22
crates/gateway/src/json_files_for_testing/stateless_transaction_validator_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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"max_calldata_length": { | ||
"description": "Validates that a transaction has signature length less than or equal to this value.", | ||
"privacy": "Public", | ||
"value": 10 | ||
}, | ||
"max_signature_length": { | ||
"description": "Validates that a transaction has calldata length less than or equal to this value.", | ||
"privacy": "Public", | ||
"value": 0 | ||
}, | ||
"validate_non_zero_l1_gas_fee": { | ||
"description": "If true, validates that a transaction has non-zero L1 resource bounds.", | ||
"privacy": "Public", | ||
"value": true | ||
}, | ||
"validate_non_zero_l2_gas_fee": { | ||
"description": "If true, validates that a transaction has non-zero L2 resource bounds.", | ||
"privacy": "Public", | ||
"value": false | ||
} | ||
} |
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