Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: remove unneeded logic from integration test setup #1023

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions src/test/integration/IntegrationBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -147,21 +147,17 @@ abstract contract IntegrationBase is IntegrationDeployer {
emit log("_upgradeEigenLayerContracts: upgrading mainnet to slashing");
_upgradeMainnetContracts();

// Unpause EigenPodManager
cheats.prank(eigenLayerPauserReg.unpauser());
eigenPodManager.unpause(0);

// Bump block.timestamp forward to allow verifyWC proofs for migrated pods
emit log("advancing block time to start of next epoch:");

beaconChain.advanceEpoch_NoRewards();

emit log("======");

isUpgraded = true;
emit log("_upgradeEigenLayerContracts: slashing upgrade complete");
} else if (forkType == HOLESKY) {
require(!isUpgraded, "_upgradeEigenLayerContracts: already performed slashing upgrade");

emit log("_upgradeEigenLayerContracts: upgrading holesky to slashing");
_upgradeHoleskyContracts();

isUpgraded = true;
emit log("_upgradeEigenLayerContracts: slashing upgrade complete");
}
Expand Down
Loading
Loading