Skip to content

Commit

Permalink
sc-client-db: Fix PruningMode::ArchiveCanonical (paritytech#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 nathanwhit committed Jul 19, 2023
1 parent 513c72e commit d4fe0ff
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 222 deletions.
Loading

0 comments on commit d4fe0ff

Please sign in to comment.