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 Feb 13, 2023
1 parent 6142fc2 commit 10bf4bd
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 222 deletions.
Loading

0 comments on commit 10bf4bd

Please sign in to comment.