Skip to content

Commit f4b79ff

Browse files
committed
Add comment
1 parent 84ae727 commit f4b79ff

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

contracts/src/core/AlignedLayerServiceManager.sol

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,13 @@ contract AlignedLayerServiceManager is
8585
}
8686

8787
// Reinitializers:
88-
// The following reinitializers have been run in testnet, so their code should remain in the codebase.
89-
// But they have not been run in mainnet, so their code should not be deployed here.
88+
// Notice testnet had more upgrades than mainnet.
89+
// In testnet, we executed the reinitializer(2) and reinitializer(3)
9090

91+
// These are not needed in Mainnet.
92+
// In the future, in case of needing to add a reinitializer,
93+
// either use reinitializer(4) or redeploy testnet from scratch
94+
9195
// function initializeAggregator( // applied on Testnet
9296
// address _alignedAggregator
9397
// ) public reinitializer(2) {
@@ -101,9 +105,6 @@ contract AlignedLayerServiceManager is
101105
// _initializePauser(_pauserRegistry, _initialPausedStatus);
102106
// }
103107

104-
// Current Testnet initializer version: 3
105-
// Current Mainnet initializer version: 1
106-
107108
function createNewTask(
108109
bytes32 batchMerkleRoot,
109110
string calldata batchDataPointer,

0 commit comments

Comments
 (0)