Show commit in --version and ledger-tool's log (#12636)

* Show commit in `--version` and ledger-tool's log

* Another handy hidden env var

* Fix test

* Rename to semver!

* Fix syntax error...
This commit is contained in:
Ryo Onodera
2020-10-04 00:30:26 +09:00
committed by GitHub
parent 337da184f3
commit 026e7de819
4 changed files with 14 additions and 3 deletions

View File

@ -44,7 +44,7 @@ fn test_rpc_client() {
assert_eq!(
client.get_version().unwrap().solana_core,
solana_version::version!()
solana_version::semver!()
);
assert!(client.get_account(&bob_pubkey).is_err());