Full Bootstrap of Archive Node #14982
Unanswered
erockstroh
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
We want to bootstrap an archive node that contains both post-bedrock and pre-bedrock data. For that, we followed the documentation outlined here: https://reth.rs/run/sync-op-mainnet.html#full-bootstrap-not-recommended
We are aware of the risks!
Following the documentation, we encountered multiple issues:
The only archive data available pre-bedrock on https://datadirs.optimism.io/ is mainnet-legacy-archival.tar.zst. Running the migration script on that data rejects the bedrock head height of 105 235 063 because the data only goes up until 105 235 062. We built the source https://github.com/testinprod-io/op-geth/tree/pcw109550/bedrock-db-migration and used that as a docker image.
Import does not work with the latest
op-reth
release 1.2.2. We had to use 1.0.8 to be able to import the data. 1.2.2 always complained about the blocks.rlp file not containing a valid tip.After data import, we ran the node with
--debug.tip 0x5687e39ac00bce6dc1c713afb66ecbce9dbd04fc49bffb0cc87d7594da378ea5
(block 133089159. The node runs and does its thing until it encounters an error with one of the block hashes.The hash for block 105 235 064 (one block after bedrock) does not match and it begins to unwind.
Does anyone have any help on how we might be able to get this to work? Is this process even possible? Or is there a better way of getting the data? We have tried a public archive snapshot over on https://www.publicnode.com/snapshots, but that snapshot does only contain data until bedrock.
GETH allows redirection of pre-bedrock requests to legacy archives, which we have not found any hint on whether that's possible with
op-reth
.Any help would be greatly appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions