Skip to content

Run web3-storage v0.5: drop removed provider-node flags, slot-based collator - #77

Closed
ilchu wants to merge 4 commits into
mainfrom
ic/storage-provider-node-0.5-flags
Closed

ilchu wants to merge 4 commits into
mainfrom
ic/storage-provider-node-0.5-flags

Conversation

@ilchu

@ilchu ilchu commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

web3-storage v0.5 needs two engine changes. storage-provider-node 0.5.0 no longer has --storage-mode or --enable-checkpoint-coordinator, so it exits on start with error: unexpected argument '--storage-mode' found. Its storage is always RocksDB at --storage-path. The v0.5.0 runtime sets a relay parent offset of 1, which only the slot-based collator supports. With the default authoring, every block fails with InvalidNumberOfDescendants { expected: 2, received: 0 } and the chain stays at #0.

Changes

  • The storage-provider-node service passes --storage-path and drops both flags. An ephemeral run keeps the provider's RocksDB in the service's temp dir, next to the keyfile, which is removed on exit. This replaces the inmemory mode.
  • Removed WEB3_STORAGE_PROVIDER_STORAGE_MODE from config/ports.env and from the generated ports.local.env.
  • The web3-storage collator runs with --authoring=slot-based, like the other parachains.
  • networks/previewnet.json pins web3-storage to v0.5.1-paseo instead of latest, and the CI e2e step clones that tag. With latest, a web3-storage release changed what CI and unpinned runs got: v0.5.0-paseo broke main.

Provider-node 0.4.1 defaults to in-memory storage when it does not get --storage-mode disk, so a deployment has to move to this engine release and to web3-storage v0.5.1-paseo together. paritytech/preview-net-v1#203 does both in one PR.

@ilchu ilchu self-assigned this Nov 19, 2026
@ilchu ilchu changed the title Drop --storage-mode and --enable-checkpoint-coordinator from storage-provider-node Run web3-storage v0.5: drop removed provider-node flags, slot-based collator Nov 19, 2026
@ilchu

ilchu commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Closing as completed via #78.

@ilchu ilchu closed this Nov 20, 2026
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.

1 participant