From 91dc68c9e709729e2a8c2fa59f48d8901eb49bb5 Mon Sep 17 00:00:00 2001 From: Rafael Matias Date: Fri, 14 Jun 2024 12:11:19 +0200 Subject: [PATCH] feat: use CDN URL for data snapshots used for shadow forks (#676) The CDN should be faster then pointing it directly to the bucket. --- README.md | 4 ++-- network_params.yaml | 2 +- src/package_io/input_parser.star | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e93f1c45c..9c9a68663 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/network_params.yaml b/network_params.yaml index b65a2cb19..c1b373550 100644 --- a/network_params.yaml +++ b/network_params.yaml @@ -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 diff --git a/src/package_io/input_parser.star b/src/package_io/input_parser.star index ec04b1185..c466043c3 100644 --- a/src/package_io/input_parser.star +++ b/src/package_io/input_parser.star @@ -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, @@ -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,