Skip to content

Commit d545e26

Browse files
committed
Added a comment on deposit id
Signed-off-by: Faisal Usmani <[email protected]>
1 parent 2e0616f commit d545e26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

script/025DeployOPSpokePool.s.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ contract DeployOPSpokePool is Script, Test, DeploymentUtils {
4343
// Set hub pool as cross domain admin since it delegatecalls the Adapter logic.
4444
bytes memory initArgs = abi.encodeWithSelector(
4545
OP_SpokePool.initialize.selector,
46-
1, // _initialDepositId
46+
// Note: Ensure that this is very high number of deposits to avoid duplicate deposit ID's
47+
// with deprecated spoke pool.
48+
1_000_000, // _initialDepositId
4749
info.hubPool, // _crossDomainAdmin
4850
info.hubPool // _withdrawalRecipient
4951
);

0 commit comments

Comments
 (0)