Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External syncer #2574

Merged
merged 16 commits into from
Sep 29, 2024
Merged

External syncer #2574

merged 16 commits into from
Sep 29, 2024

Conversation

advaita-saha
Copy link
Contributor

@advaita-saha advaita-saha commented Aug 20, 2024

External script to sync the client upto the head of chain using a CL

make -j12 nrpc
./build/nrpc external_sync --network:<eg sepolia> --beacon-api:"http://127.0.0.1:5052" --el-engine-api:"http://127.0.0.1:8550" --jwt-secret:<path-to-secret>

nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
@arnetheduck
Copy link
Member

arnetheduck commented Aug 20, 2024

let's maybe call this nrpc with a sync subcommand, so we can extend it with other commands - ie one can imagine making a cli for other json-rpc functionality (see https://github.com/status-im/nimbus-eth2/blob/stable/ncli/ncli_db.nim for an example)

nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/external_sync.nim Outdated Show resolved Hide resolved
nimbus/config.nim Outdated Show resolved Hide resolved
nrpc/config.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/config.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Show resolved Hide resolved
nrpc/nrpc.nim Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/config.nim Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
nrpc/config.nim Outdated Show resolved Hide resolved
nrpc/config.nim Outdated Show resolved Hide resolved
nrpc/config.nim Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
nrpc/nrpc.nim Outdated Show resolved Hide resolved
@advaita-saha advaita-saha marked this pull request as draft September 24, 2024 20:20
@advaita-saha advaita-saha marked this pull request as ready for review September 29, 2024 04:07
nimbus/config.nim Outdated Show resolved Hide resolved
@arnetheduck arnetheduck merged commit e8542f9 into master Sep 29, 2024
17 checks passed
@arnetheduck arnetheduck deleted the external-sync branch September 29, 2024 16:48
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