Closed ghost closed 4 years ago
(cc @seunlanlege?)
Looks like you have the latest block hash but not the block header. I'm not sure how that's possible but it might have something to do with this.
Bad block detected: Error(Block(InvalidStateRoot(Mismatch { expected: 0x4c09fcd74e1251bcf814e2f5ab88df8a65447a69092097deb6f27724ada3d0c8, found: 0x31cf4de42da0c47f592d756d266bb9e8879a7dfdf8744df3aa5d84b9c3555b9d })), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
I will look into why that happens, but for now I would suggest a re-sync with 2.5.9
if you can.
Colleague of @g574 here.
The issue with resyncing our Ropsten parity node is that it's a full archiving node with traceing enabled and we also need it that way. Resyncing takes several weeks. Since we can only start testing in preparation for the mainnet launch after that sync is finished, this likely leads to us being late for production. Plus, we also consider the Istanbul activation on Ropsten as a test of the Istanbul activation on mainnet, where a resync after a failed upgrade would take several months... So just giving up on the upgrade and resyncing can unfortunately not be an option for us.
You've mentioned that reset
results in the same panic regardless of the value you give it - have you confirmed (just want to verify) that this is the case for values that would directly reset you to prior to the fork block? My concern is that if you were to reset to a block post-fork that your node wouldn't consider valid it may no longer be present.
@joshua-mir Yes, we've tried that. Here's what happens when I try with a high number:
parity db reset --chain ropsten 18827
2019-10-03 06:56:51 UTC Configured for Ropsten Testnet using Ethash engine
2019-10-03 06:56:51 UTC unable to get mut ref for engine for shutdown.
Attempting to reset to block with pruned state
(18827 would be the exact number we need to rewind by.)
@g574 @quietnan
can you try to download this custom build of parity which would provide better logs of the problem
https://drive.google.com/file/d/1bRpwyMdNPy9oFrAr8dN0zFUlhjUqdkG5/view?usp=sharing
I have decided to resync the whole database.
My Parity Ropsten node has been running for days. It is fully synchronised and I do not prune. Now I'd like to update from 2.5.8 to 2.5.9 but it does not sync anymore:
My understanding is that I need to 'rewind' to block 6485846 because of the Istanbul fork. I tried to do
parity db reset --chain ropsten 2
(or any other number). I always get this message:How could I fix this?