Skip to content

Commit

Permalink
Fix spurious warp sync failures
Browse files Browse the repository at this point in the history
Sometimes the nodes spawned from the db snapshot discard the state before
the warp sync nodes have the chance to download it.
We use need to use `--state-pruning archive --blocks-pruning archive` when
generain the db in order to fix this.
  • Loading branch information
serban300 committed Jan 10, 2024
1 parent 61a0d86 commit db4962f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ chain_spec_path = "chain-spec.json"
[[relaychain.nodes]]
name = "alice"
validator = true
args = ["--state-pruning archive --blocks-pruning archive"]

[[relaychain.nodes]]
name = "bob"
Expand Down

0 comments on commit db4962f

Please sign in to comment.