Developers Forum for XinFin XDC Network

Bart
Bart

Posted on

No new blocks when upgrading to v2.6.7

Anyone having issues with the new version v2.6.7 ? Previously running v2.4.2-hotfix works, but the new image v2.6.7 doesn't progress with blocks.
Lots of IsEpochSwitch and getEpochSwitchInfo messages though. Reverting back to v2.4.2 will panic the node, but restored the backup and tried twice after running v2.4.2-hotfix again.

Piece of log after starting v2.6.7

INFO [01-06|15:54:15.873] Loaded most recent local fast block number=97,999,747 hash=caedc1..d09b43 td=7,441,621,231
WARN [01-06|15:54:15.874] [initial] initial v2 related parameters
INFO [01-06|15:54:15.874] [initial] highest QC from current header
DEBUG[01-06|15:54:15.874] [processQC] update x.highestQuorumCert blockNum=97,999,746 round=17888605 hash=3a4017..8c0d1c
INFO [01-06|15:54:15.874] Successfully commit and confirm block from continuous 3 blocks num=97,999,744 round=17888603 hash=005a8f..a11fa6
INFO [01-06|15:54:15.874] [setNewRound] new round and reset pools and workers round=17888606
WARN [01-06|15:54:15.874] [initial] miner wait period period=2
WARN [01-06|15:54:15.874] [initial] finish initialisation
WARN [01-06|15:54:15.874] Rewinding chain to upgrade configuration err="mismatching XDPoS not equal in database (have 80370000, want 80370000, rewindto 80369999)"
DEBUG[01-06|15:54:15.875] Reset countdown timer duration=30s currentRound=0 highestRound=0
DEBUG[01-06|15:54:45.875] Countdown time reached!
DEBUG[01-06|15:54:45.875] [IsEpochSwitch] is=false parentRound=17830279 round=17830280 number=97,941,510 epochNum=109,111 hash=0x6b96007ce2325e06752312bbc4a8d673df9af1c44524056e99aedc5639284db6
DEBUG[01-06|15:54:45.875] [getEpochSwitchInfo] header doesn't provide, get header by hash

Discussion (3)

Collapse
gzliudan profile image
Daniel Liu • Edited on

What's your commit id of v2.6.7 ? The right commit id should be a5282564. The old v2.6.7 with commit id 3b31c461 has bug, so we recreated tag v2.6.7.

Please also share the full log file, so we can find commit id in messages.

Collapse
bart profile image
Bart Author • Edited on

Here is the full log. pastebin.com/9FNZ1U9i

I tried 18hours ago so I used the docker image with digest sha256:8fa77b1b725e7c8d0bd5442e5bc2e501e7337fdc3934bd5c12e70e76266c9739 which is 22hours old.

hub.docker.com/layers/xinfinorg/xd...

Collapse
bart profile image
Bart Author • Edited on

v2.6.7 is removed from the release page 🤔

"remove SwitchEpoch comparation #1929"
Did the logs help?