-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handler for Bedrock genesis block in receipts reader
- Loading branch information
Showing
3 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
/target | ||
|
||
# Datadir | ||
crates/db-utils/testdata/geth | ||
crates/db-utils/testdata/bedrock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
#!/bin/bash | ||
|
||
echo "Downloading Bedrock Goerli datadir from gcloud..." | ||
|
||
# Download the Bedrock Goerli datadir from gcloud | ||
echo "Downloading Bedrock Goerli datadir from gcloud..." | ||
curl -L https://datadirs.optimism.io/goerli-bedrock.tar.zst --output goerli-bedrock.tar.zst | ||
|
||
echo "Done. Untarring..." | ||
|
||
# Untar the datadir | ||
tar --zstd -xvf goerli-bedrock.tar.zst -C testdata | ||
mkdir -p testdata/bedrock | ||
tar --zstd -xvf goerli-bedrock.tar.zst -C testdata/bedrock | ||
rm goerli-bedrock.tar.zst | ||
|
||
echo "Done." | ||
|
||
# echo "----------------------------------------------------------------------------------" | ||
# | ||
# # Download the Legacy Optimism Goerli datadir from gcloud | ||
# echo "Downloading Legacy Optimism Goerli Archival datadir from gcloud..." | ||
# curl -L https://datadirs.optimism.io/goerli-legacy-archival.tar.zst --output goerli-legacy-archival.tar.zst | ||
# echo "Done Untarring..." | ||
# | ||
# # Untar the datadir | ||
# mkdir -p testdata/legacy-archival | ||
# tar --zstd -xvf goerli-legacy-archival.tar.zst -C testdata/legacy-archival | ||
# rm goerli-legacy-archival.tar.zst | ||
# echo "Done." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters