Skip to content

Conversation

@0xForerunner
Copy link
Contributor

Wraps reth dockerfile with bash script. Script forwards all args to reth, periodically stops reth to take snapshot, restarts, and uploads to s3.

echo $((hex_block))
}

is_synced() {
Copy link
Contributor

@0xOsiris 0xOsiris Apr 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can use eth_syncing here instead of hooking into an external provider, but this works as well! Reth should return a null response when it is done syncing, and we could use that as a signal.

@0xForerunner 0xForerunner merged commit 46c01c3 into main Apr 29, 2025
9 checks passed
@0xForerunner 0xForerunner deleted the forerunner/snapshotter branch April 29, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants