midnightntwrk / midnightntwrk/midnight-node

Refer to ledger by git reference

Open
#1,963 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
68
Forks
45
Avg merge
2d 1h
Merged PRs (30d)
64

Description

It's not that easy for patching things to go from a crate version back to its git commit hash. (I.e. to be 100% sure that you're starting from the correct location).

Given this and that all pre-release ledger versions are git references I feel that for consistency and to reduce the chance of any confusion we should stick to either git references (or potentially importing a submodule per major ledger version)

E.g.

https://github.com/midnightntwrk/midnight-node/blob/f92fc29684fc088f4591f04777a58c526f3b3828/Cargo.lock#L7566

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

Start at the ledger dependency entry linked in Cargo.lock and inspect how pre-release ledger versions are referenced elsewhere. Compare git references with the current crate-version approach, then confirm that the chosen approach consistently identifies the intended ledger source without introducing ambiguity.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
blockchain, build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.