-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cap the validators a Native Staking Strategy can hold (#2087)
* Added max validators check to Native Staking Strategy
- Loading branch information
1 parent
49439ec
commit 6ecf222
Showing
6 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const { upgradeNativeStakingSSVStrategy } = require("../deployActions"); | ||
|
||
const mainExport = async () => { | ||
console.log("Running 012 deployment on Holesky..."); | ||
|
||
console.log("Upgrading native staking strategy"); | ||
await upgradeNativeStakingSSVStrategy(); | ||
|
||
console.log("Running 012 deployment done"); | ||
return true; | ||
}; | ||
|
||
mainExport.id = "012_upgrade_strategy"; | ||
mainExport.tags = []; | ||
mainExport.dependencies = []; | ||
mainExport.skip = () => false; | ||
|
||
module.exports = mainExport; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters