Skip to content

Commit 6faba5e

Browse files
authored
Update consensus-specs links to point to master (#9685)
1 parent f5f694b commit 6faba5e

File tree

23 files changed

+29
-28
lines changed

23 files changed

+29
-28
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See the [Changelog](https://github.com/Consensys/teku/releases) for details of t
1313

1414
## Useful links
1515

16-
* [Ethereum Beacon Chain specification](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md)
16+
* [Ethereum Beacon Chain specification](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md)
1717
* [Teku user documentation](https://docs.teku.consensys.net/)
1818
* [Teku REST API reference documentation](https://consensys.github.io/teku/)
1919
* [Teku issues](https://github.com/Consensys/teku/issues)

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/helpers/BeaconStateMutators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public void setExitQueueChurn(final UInt64 exitQueueChurn) {
225225

226226
/**
227227
* <a
228-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#deposits">add_validator_to_registry</a>
228+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#deposits">add_validator_to_registry</a>
229229
*/
230230
public void addValidatorToRegistry(
231231
final MutableBeaconState state,

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/util/AttestationUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public IndexedAttestation getIndexedAttestation(
121121
* @return
122122
* @throws IllegalArgumentException
123123
* @see
124-
* <a>https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#get_attesting_indices</a>
124+
* <a>https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#get_attesting_indices</a>
125125
*/
126126
public IntList getAttestingIndices(final BeaconState state, final Attestation attestation) {
127127
return IntList.of(

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/util/LightClientUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public LightClientBootstrap getLightClientBootstrap(final BeaconState state) {
4343
final UInt64 currentEpoch = beaconStateAccessors.getCurrentEpoch(state);
4444

4545
// Requires rehashing the state. See
46-
// https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/light-client/full-node.md#create_light_client_bootstrap
46+
// https://github.com/ethereum/consensus-specs/blob/master/specs/altair/light-client/full-node.md#create_light_client_bootstrap
4747
final LightClientHeader lightClientHeader =
4848
schemaDefinitionsAltair
4949
.getLightClientHeaderSchema()

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/deneb/helpers/BeaconStateAccessorsDeneb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Bytes32 getVoluntaryExitDomain(
5353

5454
/**
5555
* <a
56-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md#modified-get_attestation_participation_flag_indices">Modified
56+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#modified-get_attestation_participation_flag_indices">Modified
5757
* get_attestation_participation_flag_indices</a>
5858
*/
5959
@Override

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/deneb/helpers/MiscHelpersDeneb.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public MiscHelpersDeneb(
8181

8282
/**
8383
* Performs <a
84-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/polynomial-commitments.md#verify_blob_kzg_proof">verify_blob_kzg_proof</a>
84+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/polynomial-commitments.md#verify_blob_kzg_proof">verify_blob_kzg_proof</a>
8585
* on the given blob sidecar
8686
*
8787
* @param kzg the kzg implementation which will be used for verification
@@ -108,7 +108,7 @@ public boolean verifyBlobKzgProof(final KZG kzg, final BlobSidecar blobSidecar)
108108

109109
/**
110110
* Performs <a
111-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/polynomial-commitments.md#verify_blob_kzg_proof_batch">verify_blob_kzg_proof_batch</a>
111+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/polynomial-commitments.md#verify_blob_kzg_proof_batch">verify_blob_kzg_proof_batch</a>
112112
* on the given blob sidecars
113113
*
114114
* @param kzg the kzg implementation which will be used for verification
@@ -203,7 +203,7 @@ public void verifyBlobSidecarCompleteness(
203203

204204
/**
205205
* <a
206-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md#kzg_commitment_to_versioned_hash">kzg_commitment_to_versioned_hash</a>
206+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#kzg_commitment_to_versioned_hash">kzg_commitment_to_versioned_hash</a>
207207
*/
208208
@Override
209209
public VersionedHash kzgCommitmentToVersionedHash(final KZGCommitment kzgCommitment) {

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/deneb/operations/validation/AttestationDataValidatorDeneb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public AttestationDataValidatorDeneb(
3333

3434
/**
3535
* <a
36-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md#modified-process_attestation">Modified
36+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#modified-process_attestation">Modified
3737
* process_attestation</a>
3838
*/
3939
@Override

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/electra/block/BlockProcessorElectra.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ public void processWithdrawalRequests(
395395
/**
396396
* Implements process_consolidation_request from consensus-spec (EIP-7251)
397397
*
398-
* @see <a href="https://github.com/ethereum/consensus-specs/blob/dev/specs/electra/beacon-chain
398+
* @see <a
399+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/electra/beacon-chain
399400
* .md#new-process_consolidation_request"/>
400401
*/
401402
@Override
@@ -569,7 +570,7 @@ private void processConsolidationRequest(
569570
* Implements function is_valid_switch_to_compounding_request
570571
*
571572
* @see <a
572-
* href="https://github.com/ethereum/consensus-specs/blob/dev/specs/electra/beacon-chain.md#new-is_valid_switch_to_compounding_request"/>
573+
* href="https://github.com/ethereum/consensus-specs/blob/master/specs/electra/beacon-chain.md#new-is_valid_switch_to_compounding_request"/>
573574
*/
574575
@Override
575576
public boolean isValidSwitchToCompoundingRequest(

ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/electra/util/AttestationUtilElectra.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public AttestationUtilElectra(
6464
* @return
6565
* @throws IllegalArgumentException
6666
* @see
67-
* <a>https://github.com/ethereum/consensus-specs/blob/dev/specs/electra/beacon-chain.md#modified-get_attesting_indices</a>
67+
* <a>https://github.com/ethereum/consensus-specs/blob/master/specs/electra/beacon-chain.md#modified-get_attesting_indices</a>
6868
*/
6969
@Override
7070
public IntList getAttestingIndices(final BeaconState state, final Attestation attestation) {
@@ -94,7 +94,7 @@ public IntStream streamCommitteeAttesters(
9494
* In electra, attestationData must have committee index set to 0
9595
*
9696
* @see
97-
* <a>https://github.com/ethereum/consensus-specs/blob/dev/specs/electra/validator.md#construct-attestation</a>
97+
* <a>https://github.com/ethereum/consensus-specs/blob/master/specs/electra/validator.md#construct-attestation</a>
9898
*/
9999
@Override
100100
public AttestationData getGenericAttestationData(

ethereum/spec/src/test/java/tech/pegasys/teku/spec/logic/versions/fulu/helpers/MiscHelpersFuluTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void shouldRejectIfDataColumnAndKzgProofsMismatch() {
203203
}
204204

205205
// Scenarios from
206-
// https://github.com/ethereum/consensus-specs/blob/dev/tests/core/pyspec/eth2spec/test/fulu/validator/test_compute_fork_digest.py
206+
// https://github.com/ethereum/consensus-specs/blob/master/tests/core/pyspec/eth2spec/test/fulu/validator/test_compute_fork_digest.py
207207
public static Stream<Arguments> getComputeForkDigestFuluScenarios() {
208208
final Spec spec =
209209
TestSpecFactory.createMinimalFulu(

0 commit comments

Comments
 (0)