Update steps for extracting JSON file

This commit is contained in:
IshaVenikar 2025-06-04 16:38:37 +05:30
parent bd8b4c9857
commit 058e9ca0d1
2 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@
export CWD=$(pwd) export CWD=$(pwd)
``` ```
- Copy over compressed file before this - Extract the testnet-state JSON file
``` ```
gzip -dc $CWD/testnet-state.gz > $CWD/testnet-state.json gzip -dc $CWD/testnet-state.gz > $CWD/testnet-state.json

View File

@ -45,17 +45,17 @@
laconic-so fetch-stack git.vdb.to/cerc-io/laconicd-stack --git-ssh --pull laconic-so fetch-stack git.vdb.to/cerc-io/laconicd-stack --git-ssh --pull
``` ```
- Copy over compressed file before this - Copy over compressed file `testnet-state.gz` file to target machine
- Extract the testnet-state JSON file
``` ```
gzip -dc <absolute-path-to-testnet-deployment>/export/testnet-state.gz > testnet-state.json gzip -dc <path-to-compressed-file>/testnet-state.gz > testnet-state.json
# Remove zip folder # Remove zip folder
rm -rf <absolute-path-to-testnet-deployment>/export/testnet-state.gz rm -rf <path-to-compressed-file>/testnet-state.gz
``` ```
- Copy over the exported `testnet-state.json` file to target machine
- Generate LPS lockup distribution JSON file - Generate LPS lockup distribution JSON file
```bash ```bash