mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
* Kurtosis local testnet.
* Remove unused `lcli` subcommands
* Migrate doppelganger_protection test to kurtosis and further cleanup.
* Fix lint
* Add missing download image step and remove unused `lcli` dependencies.
* doppelganger success case working
* Run tests on hosted runner and improve error handling.
* Start the dp vc only after epoch 1
* Add more logging to test results.
* Fix exit code and speed up docker build.
* Fix incorrect exit codes and split doppelganger tests on CI.
* Missing the escape for double quotes 😫
* Remove unnecessary vc params in kurtosis config.
16 lines
502 B
Bash
Executable File
16 lines
502 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
|
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
ENCLAVE_NAME=${1:-local-testnet}
|
|
LOGS_PATH=$SCRIPT_DIR/logs
|
|
LOGS_SUBDIR=$LOGS_PATH/$ENCLAVE_NAME
|
|
|
|
# Delete existing logs directory and make sure parent directory exists.
|
|
rm -rf $LOGS_SUBDIR && mkdir -p $LOGS_PATH
|
|
kurtosis enclave dump $ENCLAVE_NAME $LOGS_SUBDIR
|
|
echo "Local testnet logs stored to $LOGS_SUBDIR."
|
|
|
|
kurtosis enclave rm -f $ENCLAVE_NAME
|
|
echo "Local testnet stopped."
|