Open juliajang opened 2 years ago
thanks for your report, can you try use v2.4.0-alpha?
@juliajang we use v2.3.7 to sync blocks from 16611150 but can not reproduce, maybe your node's database is corrupted. Logs:
2022/06/14 09:01:46.626672 [0;36m[INFO ][m GID 1, Ledger init success
2022/06/14 09:01:46.628233 [0;36m[INFO ][m GID 1, tx pool: the current local gas price is 2500
2022/06/14 09:01:46.628771 [0;36m[INFO ][m GID 1, TxPool init success
2022/06/14 09:01:46.628877 [0;36m[INFO ][m GID 11, txpool actor started and be ready to receive txPool msg
2022/06/14 09:01:57.715923 [0;36m[INFO ][m GID 1, [p2p] init peer ID to 44467e27850baf386b73aebf5d282975bf13a263
2022/06/14 09:01:57.716065 [0;36m[INFO ][m GID 1, [p2p]start listen on sync port 20338
2022/06/14 09:01:57.716092 [0;36m[INFO ][m GID 1, [p2p]Wait for minimum connection...
2022/06/14 09:01:57.716109 [0;36m[INFO ][m GID 1, P2P init success
2022/06/14 09:01:57.721598 [0;36m[INFO ][m GID 1, Rpc init success
2022/06/14 09:01:57.727336 [0;36m[INFO ][m GID 1, Eth Rpc init success
2022/06/14 09:01:58.089450 [0;36m[INFO ][m GID 92, outbound peer 45.43.63.117:20338 connected. id=dc17915ae6aad2792ea687360e80f70cdbaa79b5, version=v2.4.0-0-ge70d1c4
2022/06/14 09:01:58.090247 [0;36m[INFO ][m GID 95, outbound peer 128.1.38.193:20338 connected. id=66f107feb62b43b5229d3eea44f770f5b7c21abc, version=v2.4.0-0-ge70d1c4
2022/06/14 09:01:58.519331 [0;36m[INFO ][m GID 94, outbound peer 49.51.52.200:20338 connected. id=9c80a161417a17789929981503010eb2e6ab6a4f, version=v2.4.0-0-ge70d1c4
2022/06/14 09:01:58.524231 [0;36m[INFO ][m GID 93, outbound peer 49.51.35.159:20338 connected. id=932d3e34d183fb76e1648d2a318c8d859decd126, version=v2.4.0-0-ge70d1c4
2022/06/14 09:01:58.717028 [0;36m[INFO ][m GID 108, Header sync request height:16611150
2022/06/14 09:02:00.182258 [0;36m[INFO ][m GID 111, Header receive height:16611150 - 16611649
2022/06/14 09:02:00.359693 [0;36m[INFO ][m GID 111, Header sync request height:16611650
2022/06/14 09:02:01.564293 [0;36m[INFO ][m GID 681, Header receive height:16611650 - 16612149
2022/06/14 09:02:01.748660 [0;36m[INFO ][m GID 681, Header sync request height:16612150
2022/06/14 09:02:02.814302 [0;36m[INFO ][m GID 1085, Header receive height:16612150 - 16612649
2022/06/14 09:02:03.003959 [0;36m[INFO ][m GID 1085, Header sync request height:16612650
2022/06/14 09:02:03.727803 [0;36m[INFO ][m GID 98, CurrentBlockHeight = 16612140
2022/06/14 09:02:04.458781 [0;36m[INFO ][m GID 1510, Header receive height:16612650 - 16613149
2022/06/14 09:02:04.679785 [0;36m[INFO ][m GID 1510, Header sync request height:16613150
2022/06/14 09:02:05.004198 [0;36m[INFO ][m GID 1419, outbound peer 18.117.152.118:20338 connected. id=9b8d738c12a728e5e2dfb2c49d34cae2dfcb916e, version=v2.3.7-0-g67f36a3
2022/06/14 09:02:06.046503 [0;36m[INFO ][m GID 2209, Header receive height:16613150 - 16613649
2022/06/14 09:02:06.226053 [0;36m[INFO ][m GID 2209, Header sync request height:16613650
2022/06/14 09:02:08.135022 [0;36m[INFO ][m GID 3314, outbound peer 43.156.12.30:20338 connected. id=e38ee788689593c7d088f5505cb4c651b126dda0, version=v1.11.0-154-gdfecc908
2022/06/14 09:02:08.479747 [0;36m[INFO ][m GID 3315, outbound peer 63.33.70.25:20338 connected. id=00000000000000000000000066475028a2ebbaad, version=v1.9.0-0-g1d4e4f57
2022/06/14 09:02:09.727532 [0;36m[INFO ][m GID 98, CurrentBlockHeight = 16613649
2022/06/14 09:02:10.022312 [0;36m[INFO ][m GID 2913, Header receive height:16613650 - 16614149
2022/06/14 09:02:10.202090 [0;36m[INFO ][m GID 2913, Header sync request height:16614150
2022/06/14 09:02:10.672115 [0;36m[INFO ][m GID 3349, Header receive height:16613650 - 16614149
2022/06/14 09:02:13.311526 [0;36m[INFO ][m GID 3823, Header receive height:16614150 - 16614649
2022/06/14 09:02:13.490349 [0;36m[INFO ][m GID 3823, Header sync request height:16614650
2022/06/14 09:02:14.136014 [0;36m[INFO ][m GID 3972, Header receive height:16614150 - 16614649
2022/06/14 09:02:14.444185 [0;36m[INFO ][m GID 87, Ontology received exit signal: interrupt.
2022/06/14 09:02:14.444288 [0;36m[INFO ][m GID 87, closing ledger...
Hi again, so I've restarted the validator several times from 0
and still get this issue 😢
What version of ontology are you using (
ontology --version
)?v2.3.7
Does this issue reproduce with the latest release?
Yes
What operating system are you using (such as macOS, Linux and Windows)?
Linux
What did you do?
Started up a
testnet
validator that was syncing but stopped at block16613129
.What did you expect to see?
Expected to the validator continue syncing to the top of the chain (current at around
16.8 million
)What did you see instead?
Error (level:
WARN
) message:saveBlock Height:16613130 AddBlock error:saveBlock error state merkle root mismatch. expected: d20081eb949e3d9e5c57347c0a5b3e083173821032519d215dfa57ed1a61a283, got: bb847547558081ae2929f9f376cd9d4bd20ba652f903950a768ee44138dc8ba7
Latest logs:
Additional context
The validator was started at a much lower block height and after syncing with the network for several days it stopped gaining additional block height at block
16613129
with the error (see logs) above. My observability dashboard shows that the validator stopped gaining block height late 6/10, early 6/11.