remove some superfluous/pointless spec version markers (#377)

This commit is contained in:
Dustin Brody 2019-09-04 09:25:27 +00:00 committed by GitHub
parent c11f37e550
commit b9265e15f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -72,7 +72,6 @@ func is_active_validator*(validator: Validator, epoch: Epoch): bool =
### Check if ``validator`` is active ### Check if ``validator`` is active
validator.activation_epoch <= epoch and epoch < validator.exit_epoch validator.activation_epoch <= epoch and epoch < validator.exit_epoch
# https://github.com/ethereum/eth2.0-specs/blob/v0.7.1/specs/core/0_beacon-chain.md#get_active_validator_indices
# https://github.com/ethereum/eth2.0-specs/blob/v0.8.3/specs/core/0_beacon-chain.md#get_active_validator_indices # https://github.com/ethereum/eth2.0-specs/blob/v0.8.3/specs/core/0_beacon-chain.md#get_active_validator_indices
func get_active_validator_indices*(state: BeaconState, epoch: Epoch): func get_active_validator_indices*(state: BeaconState, epoch: Epoch):
seq[ValidatorIndex] = seq[ValidatorIndex] =

View File

@ -22,7 +22,6 @@ type
{.experimental: "codeReordering".} # SLOTS_PER_EPOCH is use before being defined in spec {.experimental: "codeReordering".} # SLOTS_PER_EPOCH is use before being defined in spec
# https://github.com/ethereum/eth2.0-specs/blob/v0.7.1/configs/constant_presets/mainnet.yaml
const const
# Misc # Misc
# --------------------------------------------------------------- # ---------------------------------------------------------------

View File

@ -22,7 +22,6 @@ type
{.experimental: "codeReordering".} # SLOTS_PER_EPOCH is use before being defined in spec {.experimental: "codeReordering".} # SLOTS_PER_EPOCH is use before being defined in spec
# https://github.com/ethereum/eth2.0-specs/blob/v0.7.1/configs/constant_presets/minimal.yaml
const const
# Misc # Misc
# --------------------------------------------------------------- # ---------------------------------------------------------------