forked from matter-labs/zksync
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into popzxc/handy-dummy-prover
- Loading branch information
Showing
25 changed files
with
866 additions
and
575 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
|
||
USAGE='Usage: zksync loadtest [-h|--help] [SCENARIO] [PATH_TO_CONFIG] | ||
where: | ||
-h | --help show this message | ||
SCENARIO {outgoing,execution} (outgoing by default) | ||
PATH_TO_CONFIG path to loadtest config (default is core/loadtest/src/loadtest.json)' | ||
|
||
if [ -z $ZKSYNC_ENV ]; | ||
then | ||
echo "$USAGE" | ||
exit 1 | ||
fi | ||
|
||
SCENARIO=${1:-outgoing} | ||
CONFIG=${2:-"$ZKSYNC_HOME/core/loadtest/src/loadtest.json"} | ||
|
||
echo H: $SCENARIO $CONFIG | ||
|
||
case $SCENARIO in | ||
outgoing|execution) | ||
echo Executing $SCENARIO loadtest scenario | ||
;; | ||
-h | --help) | ||
echo "$USAGE" | ||
exit 0 | ||
;; | ||
*) | ||
echo Unknown loadtest scenario | ||
echo "$USAGE" | ||
exit 1 | ||
;; | ||
esac | ||
|
||
|
||
cd $ZKSYNC_HOME | ||
cargo run --release --bin loadtest -- --scenario $SCENARIO $CONFIG |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.