Skip to content

v5.25.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 21:17
· 35 commits to main since this release
4a39d87

Nuthatch 5.25.1 is a patch cut from main. It stops nuthatch init writing the NUTHATCH_RPC URL into nuthatch.toml (#3248). There is no storage migration, and no NID, registry hash or sealed segment moves on a node.

Anyone who ran init with a keyed NUTHATCH_RPC should check nuthatch.toml and rotate any committed key.

Upgrade guidance

Replace the binary and restart. A 5.25.0 store is used as it is. The new binary does not rewrite an existing nuthatch.toml, so a URL already written there stays until you remove it. Removing it from the file does not remove it from git history.

CLI

  • init keeps the environment URL out of the file (#3248, #3249). A URL that comes from NUTHATCH_RPC is not written to nuthatch.toml, with or without --from-subgraph. When it is the only endpoint you supplied, the file gets rpc_urls = [], and init says the URL was left in the environment. dev and start read NUTHATCH_RPC on each run, so keep it set.
  • --rpc is still written to the file. init now warns when an --rpc URL looks like it carries a credential.
  • init exits non-zero on 401 or 403. When the endpoint you supplied refuses the block number request with HTTP 401 or 403, init stops with exit code 8 and does not create the nest.

MCP

  • init_nest no longer saves rpc. The URL passed to init_nest is not written to the nest, so pass rpc to start_indexing as well.

Hosted deploy kit

  • new-nest.sh quotes a directory spec in the sudo checklist it prints (#3220).

Docs

  • README says which RPC URLs init writes to nuthatch.toml.

Known issues

  • #3221 (P1): hosted deploy kit. The audit RPC URL, with its key, appears in a systemd unit's argv. gate-export follows symlinks. There are also two pitfalls in the XDC shim. This affects operators who use the hosted-nest deploy scripts under deploy/, not the binary.
  • #3102 (P1): opt-in Xatu history source. With --history-source xatu, a bit-flipped logs file from the dataset is served as the chain's logs, because page checksums are not checked. The source is off unless you name it. If you use it, treat the dataset host as trusted, or cross-check with nuthatch audit chain.