-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* increase validators limit to 1000
- Loading branch information
Showing
3 changed files
with
129 additions
and
0 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
10 changes: 10 additions & 0 deletions
10
contracts/upgrades/mainnet/SSVNetworkUpgradeValidatorsPerOperator.sol
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,10 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity 0.8.24; | ||
|
||
import "../../SSVNetwork.sol"; | ||
|
||
contract SSVNetworkUpgradeValidatorsPerOperator is SSVNetwork { | ||
function initializev2(uint32 validatorsPerOperatorLimit_) external reinitializer(_getInitializedVersion() + 1) { | ||
SSVStorageProtocol.load().validatorsPerOperatorLimit = validatorsPerOperatorLimit_; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
contracts/upgrades/testnet/holesky/SSVNetworkUpgradeValidatorsPerOperator.sol
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,10 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity 0.8.24; | ||
|
||
import "../../../SSVNetwork.sol"; | ||
|
||
contract SSVNetworkUpgradeValidatorsPerOperator is SSVNetwork { | ||
function initializev2(uint32 validatorsPerOperatorLimit_) external reinitializer(_getInitializedVersion() + 1) { | ||
SSVStorageProtocol.load().validatorsPerOperatorLimit = validatorsPerOperatorLimit_; | ||
} | ||
} |