Skip to content

Commit 6adda5e

Browse files
committed
sim-rs: add version number to changelog
1 parent a633039 commit 6adda5e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sim-rs/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
- Allow RBs to include EB certificates produced at least `L_diff` slots ago, instead of `L_vote + L_diff` slots ago. When `L_diff` is 0, this removes any direct time factor from the decision to include an EB cert.
77
- Add TXs to the mempool, even if they belong to an EB we've already seen.
88

9+
## Other
10+
- Add version number to the CLI tool's output.
11+
912
# v0.1.0
1013

1114
This version was arbitrarily chosen as the point to start tracking major changes to the simulation.

sim-rs/sim-cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const DEFAULT_TOPOLOGY_PATHS: &[&str] = &[
3232
];
3333

3434
#[derive(Parser)]
35-
#[command(version = env!("VERGEN_GIT_SHA"))]
35+
#[command(version = concat!(env!("CARGO_PKG_VERSION"), "-", env!("VERGEN_GIT_SHA")))]
3636
struct Args {
3737
#[clap(default_value = None)]
3838
topology: Option<PathBuf>,

0 commit comments

Comments
 (0)