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 gpestana committed Feb 14, 2023
1 parent 483bbfb commit a056cd4
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 222 deletions.
Loading

0 comments on commit a056cd4

Please sign in to comment.