CL client & version: op-node version v0.0.0-74ff044a-1699318761
Behaviour
Using snapshot prune-state with op-geth gets through all three steps - Iterating, Pruning, Compacting - and then after op-geth starts again, it complains that its DB is corrupted.
If pruning is not supported with op-geth, I recommend disabling the function altogether.
Steps to reproduce the behaviour
Sync an Optimism node on mainnet (have not tested this on Goerli but shall if desired), stop op-geth, and run a prune.
Any network other than Optimism mainnet/goerli would be on PBSS, and so this issue would not ever show.
System information
Geth version:
CL client & version:
op-node version v0.0.0-74ff044a-1699318761
Behaviour
Using
snapshot prune-state
with op-geth gets through all three steps - Iterating, Pruning, Compacting - and then after op-geth starts again, it complains that its DB is corrupted.If pruning is not supported with op-geth, I recommend disabling the function altogether.
Steps to reproduce the behaviour
Sync an Optimism node on mainnet (have not tested this on Goerli but shall if desired), stop op-geth, and run a prune.
Any network other than Optimism mainnet/goerli would be on PBSS, and so this issue would not ever show.