Skip to content

Commit

Permalink
feat: use CDN URL for data snapshots used for shadow forks (#676)
Browse files Browse the repository at this point in the history
The CDN should be faster then pointing it directly to the bucket.
  • Loading branch information
skylenet authored Jun 14, 2024
1 parent 955f19f commit 91dc68c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,11 @@ network_params:
eip7594_fork_version: "0x70000038"
# Network sync base url for syncing public networks from a custom snapshot (mostly useful for shadowforks)
# Defaults to "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/
# Defaults to "https://ethpandaops-ethereum-node-snapshots.ams3.cdn.digitaloceanspaces.com/
# If you have a local snapshot, you can set this to the local url:
# network_snapshot_url_base = "http://10.10.101.21:10000/snapshots/"
# The snapshots are taken with https://github.com/ethpandaops/snapshotter
network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/
network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.cdn.digitaloceanspaces.com/
# The number of data column sidecar subnets used in the gossipsub protocol
data_column_sidecar_subnet_count: 32
Expand Down
2 changes: 1 addition & 1 deletion network_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ network_params:
electra_fork_epoch: 100000000
eip7594_fork_epoch: 100000001
eip7594_fork_version: "0x70000038"
network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/
network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.cdn.digitaloceanspaces.com/
data_column_sidecar_subnet_count: 32
samples_per_slot: 8
custody_requirement: 1
Expand Down
4 changes: 2 additions & 2 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def default_network_params():
"electra_fork_epoch": 100000000,
"eip7594_fork_epoch": 100000001,
"eip7594_fork_version": "0x70000038",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.cdn.digitaloceanspaces.com/",
"data_column_sidecar_subnet_count": 32,
"samples_per_slot": 8,
"custody_requirement": 1,
Expand Down Expand Up @@ -816,7 +816,7 @@ def default_minimal_network_params():
"electra_fork_epoch": 100000000,
"eip7594_fork_epoch": 100000001,
"eip7594_fork_version": "0x70000038",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.cdn.digitaloceanspaces.com/",
"data_column_sidecar_subnet_count": 32,
"samples_per_slot": 8,
"custody_requirement": 1,
Expand Down

0 comments on commit 91dc68c

Please sign in to comment.