Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Recovering a Node That Missed the Upgrade

This guide is for mainnet nodes that did not upgrade during the 2026-08-29 activation window and can no longer follow the chain.

Mainnet activated SfcV2, Elemont, ElemontPubkeyValidation, Shanghai and PaybackV2 at the first epoch seal on 29 August 2026, then Cancun, Prague, VinuBLS12381 and VinuLatestEVM across four further seals. The final seal is recorded by the node itself: eth_config reports the current fork activating at block 14,707,397 on 2026-08-30 05:38:56 UTC. A node that was not running v2.0.49-elemont when its epoch sealed computed a different result and is now on a chain the network rejects.

Do you need this guide?

You need it if any of these are true:

  • your logs repeat wrong event epoch hash;

  • eth_currentEpoch on your node is behind the public RPC and not catching up;

  • eth_getCode for the SFC on your node is not 48,757 bytes;

  • your node ran an older binary through the 2026-08-29 window.

Check quickly:

# your node
<OPERA> attach --exec 'vc.currentEpoch()' <YOUR_IPC>
# the network
curl -s -X POST https://rpc.vinuchain.org -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_currentEpoch","params":[],"id":1}'

If the two match and your node is advancing, you do not need this guide — just upgrade the binary normally per the Mainnet Upgrade Guide.


⚠️ Read this before you touch anything

If your validator emitted events on the diverged chain, restoring a snapshot and validating again in the same epoch can produce a doublesign — and a doublesign permanently deactivates your validator.

A doublesign is two differently-signed events from your key at the same epoch and sequence number. After restoring, your node's event history is replaced by the network's; if it then emits at sequence numbers it already used on the fork, both versions exist and are provable.

This guide avoids that by having you re-sync with validation switched off first, and only re-enable validation once your node is demonstrably on the canonical chain in a later epoch than the one you diverged in.

Do not skip that. Losing a few hours of rewards is recoverable. A deactivated validator is not.

Before starting, note the last event your node emitted:

Record the epoch and sequence — e.g. 7888:29. You will confirm the chain has moved past that epoch before validating again.


What you keep and what you replace

The published snapshot is deliberately identity-free. It contains chain data only.

Keep — these are yours, never in the snapshot
Replace from the snapshot

keystore/ (your validator's consensus key)

chaindata/

go-opera/nodekey (your node's network identity)

the rest of the datadir

validator.env / your --validator.* flags

your password file

Back these up off the machine before you begin. If you lose keystore/, your validator cannot be recovered by anyone.


Step 1 — Stop the node cleanly

Never SIGKILL (kill -9) opera. A hard kill corrupts LevelDB and turns this into a multi-day resync. Wait for the process to exit on its own; give it up to 2 minutes.

Step 2 — Back up your identity

Copy that directory somewhere off the machine as well.

Step 3 — Install v2.0.49-elemont

If you have not already:

Requires x86-64 Linux with glibc 2.34 or newer.

Step 4 — Download and verify the snapshot

Do not extract an unverified archive over your datadir.

Size

75,284,772,274 bytes (70.1 GiB compressed)

sha256

969fb6acc86f1cfbc29ceed77224c25046f410c6e78726d5078c04a07afd7b31

Taken at

epoch 7894, block 14,709,230 — after all five seals

Client

v2.0.49-elemont

You need roughly 180 GB free: ~70 GB for the archive plus ~110 GB extracted.

Step 5 — Replace the chain data

Move the old datadir aside rather than deleting it, until you are sure recovery worked.

The archive expands to a datadir/ directory. Rename or move it so it matches the path your launch command expects:

Step 6 — Put your identity back

Step 7 — Start without validator flags

This is the step that protects you. Start as a plain syncing node — no --validator.id, no --validator.pubkey, no --validator.password. A node with no identity cannot doublesign.

Keep every other flag exactly as it was — same datadir, same ports.

Step 8 — Confirm you are on the canonical chain

All four must hold before you go further.

If wrong event epoch hash still appears, stop and ask before continuing — do not re-enable validation.

Step 9 — Re-enable validation

Only once step 8 passes and the network's current epoch is later than the epoch you diverged in (the one you recorded at the start).

Stop the node cleanly, add your --validator.* flags back, and start it again.

Expect roughly five minutes of:

That is deliberate doublesign protection. Do not restart again inside that window. It clears on its own, then your validator resumes emitting.

Confirm you are live:

Your validator ID, stake and delegations are unchanged throughout — you are resuming an existing validator, not creating a new one.


If it goes wrong

Symptom
What it means
Do

wrong event epoch hash persists after restore

datadir did not actually get replaced, or the wrong path was extracted

Re-check step 5; confirm du -sh shows ~110 GB and the SFC is 48,757 bytes

Bootstrap URL invalid … no such host

a stale bootnode hostname in your launch command

Use the three enodes in step 7

Node starts but finds no peers

discovery has not populated

Add a static-nodes.json in <datadir>/go-opera/ listing the same three enodes

sha256sum -c fails

truncated or corrupted download

Delete and re-download; do not extract it

Keep ${DD}.diverged.* until your validator has been emitting normally for at least a full epoch. Then remove it to reclaim disk.

Getting help

Bring these when you ask:

  • opera version output

  • your node's vc.currentEpoch vs the public RPC's

  • the count of wrong event epoch hash in your log

  • the last New event emitted line before you started recovery

Last updated