Skip to content

Commit

Permalink
Merge pull request #156 from testinprod-io/mininny/fix-readme-datadir
Browse files Browse the repository at this point in the history
Update README.md with correct instruction for setting datadir
  • Loading branch information
ImTei authored Apr 9, 2024
2 parents 4d2c583 + 2fddd7f commit 181f02f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ You can download the pre-bedrock chain data from [https://op-erigon-backup.mainn
wget -c -O "backup.tar.gz" https://op-erigon-backup.mainnet.testinprod.io
tar -zxvf backup.tar.gz
```
After untaring, you will get a folder named `chaindata` which contains two files: `mdbx.dat` and `mdbx.lck`. Create a directory, move `chaindata` to the directory, and use the directory as a datadir(`$DATADIR`) for erigon. For example,
After untaring, you will get a folder named `database` which contains a folder `chaindata` with two files inside: `mdbx.dat` and `mdbx.lck`. Use this directory as a datadir(`$DATADIR`) for erigon. For example,
```bash
mkdir database
mv chaindata database/
export DATA_DIR=`pwd`/database
```

Expand Down

0 comments on commit 181f02f

Please sign in to comment.