From 040093a9452b8026a12fb976f87431e337d5304a Mon Sep 17 00:00:00 2001 From: tersec Date: Mon, 23 Nov 2020 17:46:51 +0100 Subject: [PATCH] medalla -> pyrmont (#2062) --- beacon_chain/spec/weak_subjectivity.nim | 4 ++-- docker/shared_testnet/entry_point.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_chain/spec/weak_subjectivity.nim b/beacon_chain/spec/weak_subjectivity.nim index 95c01b3d3..d30a64b2e 100644 --- a/beacon_chain/spec/weak_subjectivity.nim +++ b/beacon_chain/spec/weak_subjectivity.nim @@ -6,7 +6,7 @@ import const SAFETY_DECAY* = 10'u64 -# https://github.com/ethereum/eth2.0-specs/blob/v0.12.3/specs/phase0/weak-subjectivity.md#calculating-the-weak-subjectivity-period +# https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/weak-subjectivity.md#calculating-the-weak-subjectivity-period func compute_weak_subjectivity_period*(state: BeaconState): uint64 = var weak_subjectivity_period = MIN_VALIDATOR_WITHDRAWABILITY_DELAY let validator_count = get_active_validator_indices_len(state, get_current_epoch(state)) @@ -16,7 +16,7 @@ func compute_weak_subjectivity_period*(state: BeaconState): uint64 = weak_subjectivity_period += SAFETY_DECAY * validator_count div (2 * 100 * MIN_PER_EPOCH_CHURN_LIMIT) return weak_subjectivity_period -# https://github.com/ethereum/eth2.0-specs/blob/v0.12.3/specs/phase0/weak-subjectivity.md#checking-for-stale-weak-subjectivity-checkpoint +# https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/weak-subjectivity.md#checking-for-stale-weak-subjectivity-checkpoint func is_within_weak_subjectivity_period*(current_slot: Slot, ws_state: BeaconState, ws_checkpoint: Checkpoint): bool = diff --git a/docker/shared_testnet/entry_point.sh b/docker/shared_testnet/entry_point.sh index 9d320c014..35dc7c2f0 100755 --- a/docker/shared_testnet/entry_point.sh +++ b/docker/shared_testnet/entry_point.sh @@ -17,7 +17,7 @@ OPTS="h" LONGOPTS="help,network:,build,run" # default values -NETWORK="medalla" +NETWORK="pyrmont" BUILD=0 RUN=0