File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ),
Original file line number Diff line number Diff 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 ),
Original file line number Diff line number Diff 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 ),
Original file line number Diff line number Diff 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 ),
Original file line number Diff line number Diff 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 ),
You can’t perform that action at this time.
0 commit comments