Skip to content

Configure an EVM Zone full node

Set up an EVM Zone full node: what it reads, how to start and check it, and how much history it keeps.

On this page

An EVM Zone full node (zone-full-node) follows the EVM Zone for you. It executes every zone block itself, keeps the resulting state, and serves the standard Ethereum JSON-RPC over HTTP and WebSocket. Reads are answered from your own copy of the chain; transaction submissions are passed on to the Block Producer. See Reading Zero yourself for why this means you don't have to trust anyone else's RPC.

Runs
Serves
Reads from
Keeps
You get from LayerZero

How a full node follows the zone

The node needs two inputs. Settlement-layer blocks come from a validating beacon service on the same host, normally beacon-follower; they tell the node which zone blocks were ordered and settled. Zone block data comes from the zone archive gateway (or, alternatively, a VID retriever). The node checks each block's data against what the validators certified, executes it, and only then serves it.

Each service keeps its own history. The beacon service's block_retention keeps settlement-layer blocks; the full node's full_node.history_window keeps zone blocks. Size both so the node can catch up from where it stopped and authenticate its saved progress or checkpoint.

Set up and start

  1. Get the network bundle

    Obtain the network bundle and matching images from LayerZero: genesis, genesis digest, network manifest, zone profile and checkpoint. The published networks already carry EVM history, so a new node starts from the checkpoint and its matching state. Configure restore if that state isn't on disk yet.

  2. Run the beacon service

    Configure the local beacon service, then put its address and API key in full_node.beacon_source. The address must be loopback, such as http://127.0.0.1:23142. If you run in containers, give the node access to that local endpoint.

  3. Choose the history settings

    Pick the retention values in Choose how much history to keep. Keep state_path and full_node.history_path on persistent storage that survives process and host replacements.

  4. Check, then start

    Validate the configuration, then start the node:

    zone-full-node --config full-node.json --check
    zone-full-node --config full-node.json

--check validates the local configuration, genesis, credentials and state without connecting to anything or opening listeners. When state is absent and restore is configured, it reports {"restore_pending":true}; the real start still restores and authenticates the checkpoint. It doesn't prove that the gateways are reachable or that your credentials are accepted. After startup, use eth_syncing and the metrics in Check that it's healthy to follow progress.

Configuration file

full-node.json has these top-level sections. Unknown fields are rejected. Relative paths for state, history, genesis, manifest and credential files are resolved from the configuration file's directory.

SettingRequired or defaultPurpose
genesis, zoneRequiredThe network's zone profile and settlement-layer IDs, from the bundle. A full node needs zone.build_witnesses: true.
beacon_zone_idRequired, positiveThe zone's ID in the settlement-layer genesis. Must agree with zone.
genesis_digest, network_manifestRequiredPin the settlement-layer genesis and load the network's manifest.
state_pathRequiredPersistent EVM state.
full_nodeRequiredSources, retained history and retrieval bounds. See Follower settings.
rpcRequiredLocal HTTP and WebSocket serving, and forwarding of submissions. See RPC settings.
checkpointRequired for a new node on the published networksStart from the bundle's checkpoint instead of from genesis.
restoreRequired when checkpoint state is absentRestore the checkpoint state on first start. Needs checkpoint. Omit it once matching state is restored and checked locally.
console_tokenAbsentOptional Console token exchange, instead of a key file.
telemetryNo metrics listenerSet metrics_port, and optionally metrics_address (default 0.0.0.0). The listener has no authentication: expose it only to your metrics collectors.

Follower settings

These fields go inside the full_node object.

SettingRequired or defaultMeaning
beacon_genesis_pathRequiredThe settlement-layer genesis file, checked against the pinned digest and the zone configuration.
beacon_source.typeRequired: clientRead the local beacon service over gRPC.
beacon_source.rpc_urlRequiredThe local beacon endpoint. The host must be localhost or a loopback IP.
beacon_source.api_keyRequiredThe local beacon service's key: non-empty ASCII.
payload_sourceRequiredWhere zone block data comes from: exoware (the archive gateway) or vid. See below.
block_rpc_addressRequiredListener for zone_getBlock, the retained-block server. Separate from the Ethereum JSON-RPC listener.
block_peers[]HTTP(S) block peers tried before payload_source. Empty means use the source directly.
history_pathRequiredPersistent history and settlement-layer progress. Keep it with the matching state.
history_windowRequired, positiveHow many confirmed zone blocks to keep. See Choose how much history to keep.
history_recordsRequired, positiveUpper bound on history records. At least 4 × history_window + 8, plus room for pending work.
history_bytesRequired, positiveUpper bound on history bytes, also used for the saved progress snapshot. Not a limit on the whole data directory.
retrieval_timeout_msRequired, positiveTimeout for fetching block data, in milliseconds. The retained-block server uses it too.

Archive gateway. Set payload_source.type: "exoware" and store_url, which must be HTTPS. Authenticate with either api_key_file, pointing at your Console key file, or the top-level console_token section, not both, and leave EXOWARE_API_KEY unset. The key file must be a regular file with mode 0600 or 0400, holding one Console API key: lzk_ followed by 43 letters or digits, with at most one trailing newline. Keys are read at startup, so restart to rotate one.

VID retriever. Set payload_source.type: "vid", retriever_url and api_key. A partner full node can use either source.

Choose how much history to keep

full_node.history_window is a number of zone blocks. There is no default, no setting in days and no "keep everything" value.

Blocks are produced only when there are transactions, so the block rate follows traffic. To aim for a time window, multiply the duration by the block rate you observe and add headroom. For example, seven days at one block per second is 604,800 blocks, which needs history_records of at least 2,419,208. That's sizing arithmetic, not a promise of seven days: if traffic rises, the same window covers less time. Watch disk use as well.

Example history settings
{
  "history_window": 1024,
  "history_records": 10000,
  "history_bytes": 268435456
}

These are illustrative values. Here the minimum record bound is 4,104; the larger bounds leave room for pending work, but whether they're enough depends on the node's actual workload. A checkpoint with pending work has extra capacity checks.

What pruning removes. As blocks are executed and confirmed, the node deletes older history: completed inputs, witnesses, and older blocks, transactions and receipts. Pending work can hold pruning back. A read below the retained range returns a pruned-history error.

Changing the window. Edit the file and restart. Raising the window later doesn't bring back records already deleted. Before lowering it, make sure your readers can do without the older history, and that the new bounds still hold the retained and pending records.

Keeping more blocks doesn't turn the node into an archive of past EVM state: state reads still answer at the head. EVM Zone RPC lists which historical queries each endpoint serves. Changing history_window also doesn't change the beacon service's retention: keep its blocks available from the node's saved progress through any catch-up range.

RPC settings

rpc.http_address, sequencer_rpc_url, forward_timeout_ms, request_bytes, response_bytes and connections are required. The timeout is in milliseconds; the byte sizes and connection count are positive limits. ws_address is optional.

  • Forwarding. sequencer_rpc_url is the RPC gateway LayerZero gives you, and sequencer_api_key_file holds your Console key. To use a Console token instead, configure the top-level console_token section and enable rpc.sequencer_console_token.
  • Limits. If the node is public, set rpc.limits to bound batch size, concurrent requests and request time. See Request limits.
  • Older generations. Optional rpc.history routes reads for previous network generations to the network's history readers. It doesn't enlarge this node's own window.

Check that it's healthy

  • Progress. eth_syncing reports execution progress. Compare the metrics zero_zone_head_height, zero_zone_committed_height and zero_zone_settled_height to tell execution lag from settlement lag.
  • Failures. Watch zero_zone_observer_current and zero_zone_follow_failures_total{stage} for settlement-layer, block-data and dependency failures. These need telemetry.metrics_port.
  • Beacon service. Check it on its own: /ready belongs to the beacon service. The full node's metrics listener serves only /metrics.
  • Restarts. Keep the configuration, bundle, credentials, state and history volumes across restarts. When a node refuses to start, keep its state and history intact while you diagnose: don't delete them to get it running.