Skip to content

Conversation

ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented Mar 14, 2025

Motivation:

We need a script to upgrade preprod/testnet to v1.4.0. This upgrade upgrades ALL core contracts, in order to bring versioning on-chain. It also encompasses our internal audit fixes.

Core:

  • AllocationManager
  • AVSDirectory
  • RewardsCoordinator
  • StrategyManager
  • DelegationManager

Pods:

  • EigenPodBeacon
  • EigenPodManager

Permissions:

  • PermissionController

Strategies

  • StrategyFactory
  • EigenStrategy
  • StrategyBeacon (Longtail)
  • StrategeBases (pre-Longtail)

Modifications:

Adds v1.4.0 upgrade script. Similar to original upgrade script since we add versioning to all contracts.

Removes v1.2.0 upgrade script.

Result:

Completed deploy script

@github-actions github-actions bot added the 📜 Script Script-related changes (automation, tooling). label Mar 14, 2025
@ypatil12 ypatil12 marked this pull request as ready for review March 17, 2025 20:56
@ypatil12 ypatil12 force-pushed the yash/v1.4.0-testnet-holesky-upgrade-script branch from ca8ac56 to b9f6a4d Compare March 17, 2025 20:56
0xrajath
0xrajath previously approved these changes Mar 18, 2025
_permissionController: Env.proxy.permissionController(),
_DEALLOCATION_DELAY: Env.MIN_WITHDRAWAL_DELAY(),
_ALLOCATION_CONFIGURATION_DELAY: Env.ALLOCATION_CONFIGURATION_DELAY(),
_version: Env.deployVersion()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What zeus variable does this correspond to? Is it ZEUS_VERSION because that seems to be 1.3.1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ZEUS_DEPLOY_TO_VERSION

});

deployImpl({
name: type(AVSDirectory).name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming this is only changes with the SignatureUtilsMixin

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup - basically have to add versioning everywhere

@ypatil12 ypatil12 merged commit 545cc6b into dev Mar 18, 2025
11 checks passed
@ypatil12 ypatil12 deleted the yash/v1.4.0-testnet-holesky-upgrade-script branch March 18, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 Script Script-related changes (automation, tooling).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants