Skip to content

Commit 17a5d6c

Browse files
authored
automated consensus spec URL updating to v1.5.0-beta.5 (#7069)
1 parent eec86f5 commit 17a5d6c

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

beacon_chain/libnimbus_lc/libnimbus_lc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ typedef struct ETHConsensusConfig ETHConsensusConfig;
9494
* based on the given `config.yaml` file content - If successful.
9595
* @return `NULL` - If the given `config.yaml` is malformed or incompatible.
9696
*
97-
* @see https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/configs/README.md
97+
* @see https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/configs/README.md
9898
*/
9999
ETH_RESULT_USE_CHECK
100100
ETHConsensusConfig *_Nullable ETHConsensusConfigCreateFromYaml(const char *configFileContent);

beacon_chain/libnimbus_lc/libnimbus_lc.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ proc ETHBeaconStateCreateFromSsz(
145145
## * https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/specs/altair/beacon-chain.md#beaconstate
146146
## * https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.8/specs/bellatrix/beacon-chain.md#beaconstate
147147
## * https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/capella/beacon-chain.md#beaconstate
148-
## * https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/configs/README.md
148+
## * https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/configs/README.md
149149
let
150150
consensusFork = ConsensusFork.decodeString($consensusVersion).valueOr:
151151
return nil

beacon_chain/rpc/rest_config_api.nim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
2424
cachedConfigSpec =
2525
RestApiResponse.prepareJsonResponse(
2626
(
27-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/phase0.yaml
27+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/phase0.yaml
2828
MAX_COMMITTEES_PER_SLOT:
2929
Base10.toString(MAX_COMMITTEES_PER_SLOT),
3030
TARGET_COMMITTEE_SIZE:
@@ -95,7 +95,7 @@ proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
9595
MAX_VOLUNTARY_EXITS:
9696
Base10.toString(MAX_VOLUNTARY_EXITS),
9797

98-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/altair.yaml
98+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/altair.yaml
9999
INACTIVITY_PENALTY_QUOTIENT_ALTAIR:
100100
Base10.toString(INACTIVITY_PENALTY_QUOTIENT_ALTAIR),
101101
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR:
@@ -113,7 +113,7 @@ proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
113113
UPDATE_TIMEOUT:
114114
Base10.toString(UPDATE_TIMEOUT),
115115

116-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/bellatrix.yaml
116+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/bellatrix.yaml
117117
INACTIVITY_PENALTY_QUOTIENT_BELLATRIX:
118118
Base10.toString(INACTIVITY_PENALTY_QUOTIENT_BELLATRIX),
119119
MIN_SLASHING_PENALTY_QUOTIENT_BELLATRIX:
@@ -130,15 +130,15 @@ proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
130130
MAX_EXTRA_DATA_BYTES:
131131
Base10.toString(uint64(MAX_EXTRA_DATA_BYTES)),
132132

133-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/capella.yaml
133+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/capella.yaml
134134
MAX_BLS_TO_EXECUTION_CHANGES:
135135
Base10.toString(uint64(MAX_BLS_TO_EXECUTION_CHANGES)),
136136
MAX_WITHDRAWALS_PER_PAYLOAD:
137137
Base10.toString(uint64(MAX_WITHDRAWALS_PER_PAYLOAD)),
138138
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP:
139139
Base10.toString(uint64(MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP)),
140140

141-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/deneb.yaml
141+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/deneb.yaml
142142
FIELD_ELEMENTS_PER_BLOB:
143143
Base10.toString(deneb_preset.FIELD_ELEMENTS_PER_BLOB),
144144
MAX_BLOB_COMMITMENTS_PER_BLOCK:

beacon_chain/spec/datatypes/base.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ type
401401
sync_committees*: Table[SyncCommitteePeriod, SyncCommitteeCache]
402402

403403
# This matches the mutable state of the Solidity deposit contract
404-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/solidity_deposit_contract/deposit_contract.sol
404+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/solidity_deposit_contract/deposit_contract.sol
405405
DepositContractState* = object
406406
branch*: array[DEPOSIT_CONTRACT_TREE_DEPTH, Eth2Digest]
407407
deposit_count*: array[32, byte] # Uint256

beacon_chain/spec/presets/mainnet/altair_preset.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{.push raises: [].}
99

1010
# Mainnet preset - Altair
11-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/altair.yaml
11+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/altair.yaml
1212
const
1313
# Updated penalty values
1414
# ---------------------------------------------------------------

beacon_chain/spec/presets/mainnet/bellatrix_preset.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{.push raises: [].}
99

1010
# Mainnet preset - Bellatrix
11-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/bellatrix.yaml
11+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/bellatrix.yaml
1212
const
1313
# Updated penalty values
1414
# ---------------------------------------------------------------

beacon_chain/spec/presets/mainnet/capella_preset.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{.push raises: [].}
99

1010
# Mainnet preset - Capella
11-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/capella.yaml
11+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/capella.yaml
1212
const
1313
# Max operations per block
1414
# ---------------------------------------------------------------

beacon_chain/spec/presets/mainnet/deneb_preset.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{.push raises: [].}
99

1010
# Mainnet preset - Deneb
11-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/mainnet/deneb.yaml
11+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/mainnet/deneb.yaml
1212
const
1313
# `uint64(4096)`
1414
FIELD_ELEMENTS_PER_BLOB*: uint64 = 4096

beacon_chain/spec/presets/minimal/altair_preset.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{.push raises: [].}
99

1010
# Minimal preset - Altair
11-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/minimal/altair.yaml
11+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/minimal/altair.yaml
1212
const
1313
# Updated penalty values
1414
# ---------------------------------------------------------------

beacon_chain/spec/presets/minimal/bellatrix_preset.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{.push raises: [].}
99

1010
# Minimal preset - Bellatrix
11-
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.4/presets/minimal/bellatrix.yaml
11+
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.5/presets/minimal/bellatrix.yaml
1212
const
1313
# Updated penalty values
1414
# ---------------------------------------------------------------

0 commit comments

Comments
 (0)