Skip to content

Add --substreams-tier1-allow-pruned-chain flag - #296

Merged
maoueh merged 9 commits into
developfrom
feature/allow-store-truncation
Oct 15, 2026
Merged

maoueh merged 9 commits into
developfrom
feature/allow-store-truncation

Conversation

@sduchesneau

@sduchesneau sduchesneau commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds --substreams-tier1-allow-pruned-chain, which sets Tier1Config.AllowPrunedChain from streamingfast/substreams#991. With it, tier1 serves modules (mappers and stores) whose initial block is below --common-first-streamable-block, and their stores resume from snapshots taken before the chain was pruned.

Tier2 must run this version before the flag is set on tier1: an older tier2 ignores the setting and refuses the jobs.

go.mod points at the head of streamingfast/substreams#991; it needs a bump once that PR is merged.

@dfuse-bot

dfuse-bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Vulnerabilities of ghcr.io/streamingfast/firehose-core:7499812-amd64

📦 Image Reference ghcr.io/streamingfast/firehose-core:7499812-amd64
digestsha256:cee7d201dd87d46d8dfe2aac0d5f6120d3465f3076f5184f2ca6175b9cebb0e5
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 0
platformlinux/amd64
size165 MB
packages510
📦 Base Image ubuntu:24.04
also known as
  • noble
  • noble-20260917
digestsha256:f610ab94648195aa356059f5b41d6085c9d4d903c072430cdd1af7bdb646106b
vulnerabilitiescritical: 0 high: 1 medium: 13 low: 7

@sduchesneau
sduchesneau marked this pull request as ready for review October 13, 2026 20:53
@sduchesneau
sduchesneau requested a review from maoueh October 13, 2026 20:54
@sduchesneau sduchesneau changed the title Add --substreams-tier1-allow-store-truncation flag Add --substreams-tier1-allow-tail-truncation flag Oct 15, 2026
@sduchesneau sduchesneau changed the title Add --substreams-tier1-allow-tail-truncation flag Add --substreams-tier1-allow-pruned-chain flag Oct 15, 2026
@maoueh
maoueh merged commit 513060d into develop Oct 15, 2026
8 checks passed
@maoueh
maoueh deleted the feature/allow-store-truncation branch October 15, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants