-
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.
feat: add documentation for local debug (#26)
* add documentation for local debug * Update test/scripts/config_kurtosis_for_local_run.sh to be more robust and check tools and state
- Loading branch information
1 parent
c75e51e
commit 28cd7af
Showing
3 changed files
with
62 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Setup environment to local debug on VSCode | ||
|
||
## Clone kurtosis | ||
|
||
Set KURTOSIS_FOLDER to the folder where do you want to clone `kurtosis_cdk` | ||
|
||
```bash | ||
KURTOSIS_FOLDER="/tmp/kurtosis/" ./test/scripts/clone_kurtosis.sh develop $KURTOSIS_FOLDER | ||
``` | ||
|
||
## Run kurtosis | ||
|
||
Set KURTOSIS_FOLDER to the folder where do you clone `kurtosis_cdk` | ||
|
||
```bash | ||
KURTOSIS_FOLDER="/tmp/kurtosis/" kurtosis run --enclave cdk-v1 --args-file $KURTOSIS_FOLDER/cdk-erigon-sequencer-params.yml --image-download always $KURTOSIS_FOLDER | ||
``` | ||
|
||
## Create configuration for this kurtosis environment | ||
|
||
`./test/scripts/config_kurtosis_for_local_run.sh` | ||
|
||
## Stop sequence-sender started by Kurtosis | ||
|
||
```bash | ||
kurtosis service stop cdk-v1 zkevm-node-sequence-sender-001 | ||
``` | ||
|
||
## Add to vscode launch.json | ||
|
||
After execution `config_kurtosis_for_local_run.sh` it suggest a entry for `launch.json` configurations |
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