lighthouse/common
Paul Hauner f26adc0a36 Lighthouse v0.2.0 (Medalla) (#1452)
## Issue Addressed

NA

## Proposed Changes

- Moves the git-based versioning we were doing into the `lighthouse_version` crate in `common`.
- Removes the `beacon_node/version` crate, replacing it with `lighthouse_version`.
- Bumps the version to `v0.2.0`.

## Additional Info

There are now two types of version string:

1. `const VERSION: &str = Lighthouse/v0.2.0-1419501f2+`
1. `version_with_platform() = Lighthouse/v0.2.0-1419501f2+/x86_64-linux`

(1) is handy cause it's a `const` and shorter. (2) has platform info so it's more useful. Note that the plus-sign (`+`) indicates the the git commit is dirty (it used to be `(modified)` but I had to shorten it to fit into graffiti).

These version strings are now included on:

- `lighthouse --version`
- `lcli --version`
- `curl localhost:5052/node/version`
- p2p messages when we communicate our version

You can update the version by changing this constant (version is not related to a `Cargo.toml`):

b9ad7102d5/common/lighthouse_version/src/lib.rs (L4-L15)
2020-08-04 07:44:53 +00:00
..
account_utils Add EF launchpad import (#1381) 2020-07-29 04:32:50 +00:00
clap_utils Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
compare_fields Check for unused deps in CI (#1262) 2020-06-14 10:59:50 +10:00
compare_fields_derive Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
deposit_contract Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
eth2_config Add Medalla genesis state, more boot enr (#1438) 2020-08-03 07:49:24 +00:00
eth2_interop_keypairs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
eth2_testnet_config Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
eth2_wallet_manager Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
hashset_delay Shift author to sigma prime on some crates (#1440) 2020-08-04 02:31:41 +00:00
lighthouse_metrics Update deps (#1322) 2020-07-06 11:55:56 +10:00
lighthouse_version Lighthouse v0.2.0 (Medalla) (#1452) 2020-08-04 07:44:53 +00:00
logging Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
remote_beacon_node Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
rest_types Shift author to sigma prime on some crates (#1440) 2020-08-04 02:31:41 +00:00
slot_clock Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
test_random_derive Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
validator_dir Improve account manager CLI (#1404) 2020-07-29 04:32:52 +00:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.