Commit b0cbf0b
feat: redistribution upgrade script (#1396)
**Motivation:**
Redistribution upgrade script.
**Modifications:**
**Deployment Process:**
1. `SlashingEscrowFactory` and `SlashEscrow` are two _new_ deployed
contracts
a. We deploy a new proxyAdmin to upgrade the `SlashingEscrowFactory`.
The owner of this proxyAdmin is the community multisig
3. Upgrades the following contracts:
a. DelegationManager
b. AllocationManager
c. Strategymanager
d. EigenPodManager
e. EigenStrategy
f. StrategyBeacon
g. StrategyBaseTVLLimits (pre-longtail strats)
**Zeus Config Updates:**
In Zeus config, we add a `GLOBAL_SLASH_DELAY` value. On all testnets
(preprod, testnet, testnet-hoodi, tesnet-sepolia) this value is 5 blocks
(1 min). On mainnet this value is 28,800 (4 days in blocks)
Run `zeus env show <environment>` to double check.
**Important Checks:**
1. Ensure the `_globalBurnOrRedistributionDelay` is properly set
2. Upgradability of the `SlashEscrowFactory` is controlled by a new
`SlashEscrowProxyAdmin`. The owner of this contract is the
`CommunityMultisig`.
**Result:**
Updated deploy scripts.
---------
Co-authored-by: clandestine.eth <[email protected]>
Co-authored-by: bowenli86 <[email protected]>1 parent 0c1af9a commit b0cbf0b
File tree
7 files changed
+676
-300
lines changed- script/releases
- v.1.5.0-redistribution
- v1.4.1-slashing
7 files changed
+676
-300
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
79 | 87 | | |
80 | 88 | | |
81 | 89 | | |
| |||
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
91 | 103 | | |
92 | 104 | | |
93 | 105 | | |
| |||
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
151 | 167 | | |
152 | 168 | | |
153 | 169 | | |
| |||
318 | 334 | | |
319 | 335 | | |
320 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
321 | 358 | | |
322 | 359 | | |
323 | 360 | | |
| |||
0 commit comments