Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
sc-client-db: Fix PruningMode::ArchiveCanonical (#13361)
Browse files Browse the repository at this point in the history
* sc-client-db: Fix `PruningMode::ArchiveCanonical`

When running a node with `--state-pruning archive-canonical` it was directly failing on genesis.
There was an issue in the state-db `pin` implementation. It was not checking the state of a block
correctly when running with archive canonical (and also not for every other block after they are canonicalized).

* FMT
  • Loading branch information
bkchr authored and Ank4n committed Feb 28, 2023
1 parent 6d59796 commit 5b677b0
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 222 deletions.
Loading

0 comments on commit 5b677b0

Please sign in to comment.