paritytech / paritytech/try-runtime-cli

Snapshot file name should include absolute block number

Open
#71 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
25
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Currently it creates something like polkadot-1000001@latest.snap, which makes sense in the moment but when i look at it a week later i wonder what latest was.
IMHO it would be better to just put the absolute block number.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file or test. Start by locating the code that generates snapshot filenames and trace how the current block label is chosen. Done means snapshot names use the absolute block number instead of latest, with relevant tests updated or added if that area has coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.