Skip to content

chore: stale FIXME comments on snapshot URL in execution-config defaults (already the real URL) #275

Description

@teyrebaz33

Summary

crates/execution-config/src/defaults.rs has two FIXME: Update this to the actual snapshot URL. comments attached to https://snapshots.arc.network/5042002:

// FIXME: Update this to the actual snapshot URL.
/// Default snapshot URL for Arc Network testnet (chain ID 5042002).
pub(crate) const DEFAULT_DOWNLOAD_URL: &str = "https://snapshots.arc.network/5042002";

and again a few lines later in init_download_urls() on the available_snapshots entry.

This is already the real, production snapshot URL, not a placeholder — confirmed two ways:

  1. crates/snapshots/src/download.rs uses the same host with no such disclaimer:
    pub const SNAPSHOT_API_BASE_URL: &str = "https://snapshots.arc.network/api";
  2. docs/running-an-arc-node.md documents https://snapshots.arc.network directly to users as the endpoint arc-snapshots fetches from, with no caveat about it being provisional.

Chain ID 5042002 also checks out independently as Arc Testnet (matches third-party RPC listings).

Why this is worth fixing

A stale FIXME reading 'update this to the actual URL' next to a URL that already is the actual URL is actively misleading — it invites a future contributor to 'fix' something that isn't broken, or to distrust a value that's already correct. Low severity, but it's a two-line removal once someone's looked into it.

Note

I only independently verified the testnet URL (5042002); didn't verify the devnet one (5042001) against an external source the way I did for testnet, so I'm not asserting that one's FIXME is stale by the same evidence — just flagging both exist textually. Happy to send the PR removing the FIXME(s) once confirmed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions