allada / bsc-archive-snapshot

Free public Binance Smart Chain (BSC) Archive Snapshot
Apache License 2.0
112 stars 25 forks source link

fatal error: An error occurred (404) when calling the HeadObject operation: Key "bsc/erigon-latest.tar.zstd" does not exist #37

Closed bdonglobal closed 1 year ago

bdonglobal commented 1 year ago

When I execute this command from shell, aws s3 cp --request-payer=requester "s3://public-blockchain-snapshots/bsc/erigon-latest.tar.zstd" erigon-latest.tar.zstd

the output is fatal error: An error occurred (404) when calling the HeadObject operation: Key "bsc/erigon-latest.tar.zstd" does not exist

allada commented 1 year ago

You must be using an old version of this repo's code. The location changed and there are some startup flags that need to be set when erigon starts now.

The data is no longer stored in a single tar and instead is stored in a few different files. Please use the build_archive_node.sh file to do the downloading.