Skip to content

Commit

Permalink
Update README.md with correct instruction for setting datadir
Browse files Browse the repository at this point in the history
  • Loading branch information
mininny committed Apr 7, 2024
1 parent 2f4bcd5 commit 2fddd7f
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 2fddd7f

Please sign in to comment.