Skip to content

Commit 88d41f6

Browse files
authored
Align fork version modifiers (#5372)
1 parent c9d52e0 commit 88d41f6

5 files changed

Lines changed: 5 additions & 3 deletions

File tree

specs/altair/fork.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def upgrade_to_altair(pre: phase0.BeaconState) -> BeaconState:
7474
slot=pre.slot,
7575
fork=Fork(
7676
previous_version=pre.fork.current_version,
77+
# [New in Altair]
7778
current_version=ALTAIR_FORK_VERSION,
7879
epoch=epoch,
7980
),

specs/bellatrix/fork.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def upgrade_to_bellatrix(pre: altair.BeaconState) -> BeaconState:
5959
slot=pre.slot,
6060
fork=Fork(
6161
previous_version=pre.fork.current_version,
62-
# [New in Bellatrix]
62+
# [Modified in Bellatrix]
6363
current_version=BELLATRIX_FORK_VERSION,
6464
epoch=epoch,
6565
),

specs/capella/fork.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def upgrade_to_capella(pre: bellatrix.BeaconState) -> BeaconState:
7373
slot=pre.slot,
7474
fork=Fork(
7575
previous_version=pre.fork.current_version,
76+
# [Modified in Capella]
7677
current_version=CAPELLA_FORK_VERSION,
7778
epoch=epoch,
7879
),

specs/gloas/fork.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def upgrade_to_gloas(pre: fulu.BeaconState) -> BeaconState:
126126
slot=pre.slot,
127127
fork=Fork(
128128
previous_version=pre.fork.current_version,
129-
# [Modified in Gloas:EIP7732]
129+
# [Modified in Gloas]
130130
current_version=GLOAS_FORK_VERSION,
131131
epoch=epoch,
132132
),

specs/heze/fork.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def upgrade_to_heze(pre: gloas.BeaconState) -> BeaconState:
5858
slot=pre.slot,
5959
fork=Fork(
6060
previous_version=pre.fork.current_version,
61-
# [Modified in Heze:EIP7805]
61+
# [Modified in Heze]
6262
current_version=HEZE_FORK_VERSION,
6363
epoch=epoch,
6464
),

0 commit comments

Comments
 (0)