Skip to content

Commit

Permalink
clean sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Sep 8, 2023
1 parent 486a961 commit b9096a3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ First, install Docker. Then, run:

```
git clone https://github.com/rauljordan/eth-pos-devnet && cd eth-pos-devnet
make clean
./clean.sh
docker compose up -d
```

Expand All @@ -33,7 +33,7 @@ $ docker compose up -d
⠿ Container eth-pos-devnet-validator-1 Started
```

Each time you restart, you can wipe the old data using `make clean`.
Each time you restart, you can wipe the old data using `./clean.sh`.

Next, you can inspect the logs of the different services launched.

Expand Down
3 changes: 3 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker rm -f $(docker ps -a -q)
rm -Rf ./consensus/beacondata ./consensus/validatordata ./consensus/genesis.ssz
rm -Rf ./execution/geth
4 changes: 2 additions & 2 deletions execution/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"londonBlock": 0,
"arrowGlacierBlock": 0,
"grayGlacierBlock": 0,
"shanghaiTime": 1694202041,
"shanghaiTime": 1694203140,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true
},
"nonce": "0x0",
"timestamp": "0x64fb78b9",
"timestamp": "0x64fb7d04",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000123463a4b065722e99115d6c222f267d9cabb5240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x1c9c380",
"difficulty": "0x1",
Expand Down

0 comments on commit b9096a3

Please sign in to comment.