Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batch-submitter: default tx batch validation to false
Update the batch validation config parsing so that the tx batch validation is false by default. This means that to enable transaction batch validation, the env var `VALIDATE_TX_BATCH` must be explicitly set to `true`. If it is not set, then it will default to false. The logic is shown below for the implementation. ```js > '' ? '' === 'true' : false false > 'false' ? 'false' === 'true' : false false > 'true' ? 'true' === 'true' : false true ```
- Loading branch information
Showing
3 changed files
with
15 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/batch-submitter': patch | ||
--- | ||
|
||
Default tx batch validation to 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