paritytech / paritytech/try-runtime-cli
Snapshot file name should include absolute block number
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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