@@ -73,7 +73,7 @@ contract DeployFromScratch is Script, Test {
73
73
address operationsMultisig;
74
74
address pauserMultisig;
75
75
76
- string EIP712_VERSION ;
76
+ string SEMVER ;
77
77
78
78
// the ETH2 deposit contract -- if not on mainnet, we deploy a mock as stand-in
79
79
IETHPOSDeposit public ethPOSDeposit;
@@ -126,7 +126,7 @@ contract DeployFromScratch is Script, Test {
126
126
string memory config_data = vm.readFile (deployConfigPath);
127
127
// bytes memory parsedData = vm.parseJson(config_data);
128
128
129
- EIP712_VERSION = stdJson.readString (config_data, ".eip712_version " );
129
+ SEMVER = stdJson.readString (config_data, ".SEMVER " );
130
130
131
131
MIN_WITHDRAWAL_DELAY = uint32 (stdJson.readUint (config_data, ".delegation.withdrawal_delay_blocks " ));
132
132
STRATEGY_MANAGER_INIT_PAUSED_STATUS = stdJson.readUint (config_data, ".strategyManager.init_paused_status " );
@@ -252,29 +252,39 @@ contract DeployFromScratch is Script, Test {
252
252
eigenLayerPauserReg,
253
253
permissionController,
254
254
MIN_WITHDRAWAL_DELAY,
255
- EIP712_VERSION
255
+ SEMVER
256
256
);
257
- strategyManagerImplementation = new StrategyManager (delegation, eigenLayerPauserReg, EIP712_VERSION );
258
- avsDirectoryImplementation = new AVSDirectory (delegation, eigenLayerPauserReg, EIP712_VERSION );
257
+ strategyManagerImplementation = new StrategyManager (delegation, eigenLayerPauserReg, SEMVER );
258
+ avsDirectoryImplementation = new AVSDirectory (delegation, eigenLayerPauserReg, SEMVER );
259
259
eigenPodManagerImplementation = new EigenPodManager (
260
260
ethPOSDeposit,
261
261
eigenPodBeacon,
262
262
delegation,
263
263
eigenLayerPauserReg
264
264
);
265
265
rewardsCoordinatorImplementation = new RewardsCoordinator (
266
- delegation,
267
- strategyManager,
268
- allocationManager,
269
- eigenLayerPauserReg,
270
- permissionController,
271
- REWARDS_COORDINATOR_CALCULATION_INTERVAL_SECONDS,
272
- REWARDS_COORDINATOR_MAX_REWARDS_DURATION,
273
- REWARDS_COORDINATOR_MAX_RETROACTIVE_LENGTH,
274
- REWARDS_COORDINATOR_MAX_FUTURE_LENGTH,
275
- REWARDS_COORDINATOR_GENESIS_REWARDS_TIMESTAMP
276
- );
277
- allocationManagerImplementation = new AllocationManager (delegation, eigenLayerPauserReg, permissionController, DEALLOCATION_DELAY, ALLOCATION_CONFIGURATION_DELAY);
266
+ IRewardsCoordinatorTypes.RewardsCoordinatorConstructorParams (
267
+ delegation,
268
+ strategyManager,
269
+ allocationManager,
270
+ eigenLayerPauserReg,
271
+ permissionController,
272
+ REWARDS_COORDINATOR_CALCULATION_INTERVAL_SECONDS,
273
+ REWARDS_COORDINATOR_MAX_REWARDS_DURATION,
274
+ REWARDS_COORDINATOR_MAX_RETROACTIVE_LENGTH,
275
+ REWARDS_COORDINATOR_MAX_FUTURE_LENGTH,
276
+ REWARDS_COORDINATOR_GENESIS_REWARDS_TIMESTAMP,
277
+ SEMVER
278
+ )
279
+ );
280
+ allocationManagerImplementation = new AllocationManager (
281
+ delegation,
282
+ eigenLayerPauserReg,
283
+ permissionController,
284
+ DEALLOCATION_DELAY,
285
+ ALLOCATION_CONFIGURATION_DELAY,
286
+ SEMVER
287
+ );
278
288
permissionControllerImplementation = new PermissionController ();
279
289
280
290
// Third, upgrade the proxy contracts to use the correct implementation contracts and initialize them.
0 commit comments