Skip to content
Unverified Commit b0d0fb31 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

sc-state-db: Keep track of `LAST_PRUNED` after warp syncing (#2228)

When warp syncing we import the target block with all its state.
However, we didn't store the `LAST_PRUNED` block which would then lead
to `pruning` to forget about the imported block after a restart of the
node. We just set `LAST_PRUNED` to the parent block of the warp sync
target block to fix this issue.
parent e8029a77
Pipeline #411721 passed with stages
in 41 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment