magicblock-labs / magicblock-labs/magicblock-validator

Check unused Version::commit and version!/semver! macros

Open
#1,711 0 comments 0 reactions 1 assignee View on GitHub

@oksanaphmn is already working on this.

Since Sep 18, 2026.

question
Dominant language
Rust
Stars
58
Forks
58
Avg merge
22h 1m
Merged PRs (30d)
53

Description

### Question

magicblock-version/src/lib.rs

`Version::commit` and the `version!()` / `semver!()` macros don't appear to be used anywhere in this repo, so they look like dead code.

Are they intentionally kept for upstream/API compatibility or external consumers?

### Context

_No response_

### Desired output

_No response_

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.