lighthouse/consensus/types/src
Michael Sproul 36bd4d87f0 Update to spec v1.0.0-rc.0 and BLSv4 (#1765)
## Issue Addressed

Closes #1504 
Closes #1505
Replaces #1703
Closes #1707

## Proposed Changes

* Update BLST and Milagro to versions compatible with BLSv4 spec
* Update Lighthouse to spec v1.0.0-rc.0, and update EF test vectors
* Use the v1.0.0 constants for `MainnetEthSpec`.
* Rename `InteropEthSpec` -> `V012LegacyEthSpec`
    * Change all constants to suit the mainnet `v0.12.3` specification (i.e., Medalla).
* Deprecate the `--spec` flag for the `lighthouse` binary
    * This value is now obtained from the `config_name` field of the `YamlConfig`.
        * Built in testnet YAML files have been updated.
    * Ignore the `--spec` value, if supplied, log a warning that it will be deprecated
    * `lcli` still has the spec flag, that's fine because it's dev tooling.
* Remove the `E: EthSpec` from `YamlConfig`
    * This means we need to deser the genesis `BeaconState` on-demand, but this is fine.
* Swap the old "minimal", "mainnet" strings over to the new `EthSpecId` enum.
* Always require a `CONFIG_NAME` field in `YamlConfig` (it used to have a default).

## Additional Info

Lots of breaking changes, do not merge! ~~We will likely need a Lighthouse v0.4.0 branch, and possibly a long-term v0.3.0 branch to keep Medalla alive~~.

Co-authored-by: Kirk Baird <baird.k@outlook.com>
Co-authored-by: Paul Hauner <paul@paulhauner.com>
2020-10-28 22:19:38 +00:00
..
beacon_state Address clippy lints, panic in ssz_derive on overflow (#1714) 2020-10-25 23:27:39 +00:00
test_utils Optimize attester slashing (#1745) 2020-10-22 01:43:54 +00:00
aggregate_and_proof.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
attestation_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
attestation_duty.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
attestation.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
attester_slashing.rs Merge remote-tracking branch 'origin/master' into spec-v0.12 2020-06-26 12:57:56 +10:00
beacon_block_body.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
beacon_block_header.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
beacon_block.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
beacon_committee.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
beacon_state.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
chain_spec.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
checkpoint.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
deposit_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
deposit_message.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
deposit.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
enr_fork_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
eth1_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
eth_spec.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
fork_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
fork.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
free_attestation.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
graffiti.rs Address clippy lints, panic in ssz_derive on overflow (#1714) 2020-10-25 23:27:39 +00:00
historical_batch.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
indexed_attestation.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
lib.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
pending_attestation.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
proposer_slashing.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
relative_epoch.rs Remove saturating arith from state_processing (#1644) 2020-09-25 05:18:21 +00:00
selection_proof.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
shuffling_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
signed_aggregate_and_proof.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
signed_beacon_block_header.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
signed_beacon_block.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
signed_voluntary_exit.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
signing_data.rs Consensus updates for v0.12 (#1228) 2020-06-03 14:56:54 +10:00
slot_epoch_macros.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
slot_epoch.rs Fix epoch, slot, and effective balance quoting (#1756) 2020-10-11 23:58:12 +00:00
sqlite.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
subnet_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
tree_hash_impls.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
validator_subscription.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
validator.rs Fix epoch, slot, and effective balance quoting (#1756) 2020-10-11 23:58:12 +00:00
voluntary_exit.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00