Skip to content

fix(moksha): publish live bootnode ENRs, drop dead third bootnode - #32

Open
inf-1oop wants to merge 1 commit into
mainfrom
fix/moksha-bootnode-enrs
Open

inf-1oop wants to merge 1 commit into
mainfrom
fix/moksha-bootnode-enrs

Conversation

@inf-1oop

Copy link
Copy Markdown
Contributor

Summary

.env.moksha.example still carried the pre-migration Moksha bootnode records. Both bootnodes are now discovery-only hosts (devp2p discv4 listen + Prysm bootnode, UDP only, managed in vana-node-ops as moksha-bootnode-1/2), and the third bootnode is gone.

  • CL_BOOTNODE_1 was the old beacon-node ENR for 34.45.237.218 (seq 1733255857231). It advertised tcp/13000 and syncnets, so Prysm tried to dial it and logged refused connections. Replaced with the live record (seq 1789573682778, udp/12000 only). Same node ID e9398cae….
  • CL_BOOTNODE_2 predated fork-version pinning (digest f5a5fd42). Replaced with the live record for 34.57.71.47 (seq 1786550150287). Same node ID.
  • Third bootnode 34.56.57.89 (CL_BOOTNODE_3 and the third GETH_BOOTNODES enode) removed. It answers neither discv4 nor discv5, and vana-node-ops' moksha_published_bootnodes lists only bootnode-1/2.
  • First enode changed from :30303 to :0?discport=30303, matching the second entry. Neither bootnode runs an RLPx listener.

Verification

  • Live ENRs read from docker logs bootnode on each host; secp256k1 keys match the previous records byte for byte.
  • Both hosts answer discv4 PING/PONG on udp/30303 and discv5 WHOAREYOU on udp/12000 (probe masked with the node ID from these ENRs, so the reply proves the identity).
  • bootnode-1's discv5 table holds 15 nodes including all three canonical Moksha full nodes; bootnode-2's holds 12.
  • tcp/30303 and tcp/13000 return ECONNREFUSED on both hosts, as expected for discovery-only nodes.

Note

The bootnodes currently run with --fork-version=20000089 (genesis), so their eth2 field carries digest e693d2de rather than the network's 414ecbca (Deneb, 0x20000093). Harmless for Prysm, which never dials records without a TCP port. If that flag is changed in vana-node-ops, the records change and this file needs a follow-up.

🤖 Generated with Claude Code

The Moksha bootnodes were migrated to discovery-only hosts (vana-node-ops
moksha-bootnode-1/2: devp2p discv4 listen + prysm bootnode, UDP only). The
example env still shipped the pre-migration records:

- CL_BOOTNODE_1 was the old beacon-node ENR advertising tcp/13000, so Prysm
  dialed it and logged refused connections.
- CL_BOOTNODE_2 predated fork-version pinning (digest f5a5fd42).
- The third bootnode (34.56.57.89) no longer answers discv4 or discv5 and is
  not in the ops inventory.

Replace both CL ENRs with the records the live bootnodes print at startup
(same node IDs, udp 12000 only), remove the third EL/CL entries, and use the
`:0?discport=30303` form for both enodes since neither runs an RLPx listener.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant