Skip to content

Commit

Permalink
update for mekong
Browse files Browse the repository at this point in the history
  • Loading branch information
domiwei committed Dec 2, 2024
1 parent e7cf408 commit 88e089b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cl/phase1/core/state/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ func (b *CachingBeaconState) UpgradeToElectra() error {
// Update the state root cache
b.SetVersion(clparams.ElectraVersion)

earliestExitEpoch := ComputeActivationExitEpoch(b.BeaconConfig(), epoch)
//earliestExitEpoch := ComputeActivationExitEpoch(b.BeaconConfig(), epoch)
earliestExitEpoch := epoch // for Mekong testnet
b.ValidatorSet().Range(func(i int, v solid.Validator, _ int) bool {
if v.ExitEpoch() != b.BeaconConfig().FarFutureEpoch {
if v.ExitEpoch() > earliestExitEpoch {
Expand Down
2 changes: 1 addition & 1 deletion cl/spectest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


tests:
wget https://github.com/ethereum/consensus-spec-tests/releases/download/v1.5.0-alpha.9/mainnet.tar.gz
wget https://github.com/ethereum/consensus-spec-tests/releases/download/v1.5.0-alpha.8/mainnet.tar.gz
tar xf mainnet.tar.gz
rm mainnet.tar.gz
# not needed for now
Expand Down

0 comments on commit 88e089b

Please sign in to comment.