Skip to content

Commit

Permalink
make no delay on rate-limit update
Browse files Browse the repository at this point in the history
  • Loading branch information
zimpha committed Sep 18, 2023
1 parent e3cee0d commit 0fe1069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/scripts/foundry/InitializeL2ScrollOwner.s.sol
Expand Up @@ -212,7 +212,7 @@ contract InitializeL2ScrollOwner is Script {
// delay 1 day, scroll multisig
_selectors = new bytes4[](1);
_selectors[0] = ETHRateLimiter.updateTotalLimit.selector;
owner.updateAccess(L2_ETH_RATE_LIMITER_ADDR, _selectors, TIMELOCK_1DAY_DELAY_ROLE, true);
owner.updateAccess(L2_ETH_RATE_LIMITER_ADDR, _selectors, SCROLL_MULTISIG_NO_DELAY_ROLE, true);
}

function configTokenRateLimiter() internal {
Expand All @@ -221,7 +221,7 @@ contract InitializeL2ScrollOwner is Script {
// delay 1 day, scroll multisig
_selectors = new bytes4[](1);
_selectors[0] = TokenRateLimiter.updateTotalLimit.selector;
owner.updateAccess(L2_TOKEN_RATE_LIMITER_ADDR, _selectors, TIMELOCK_1DAY_DELAY_ROLE, true);
owner.updateAccess(L2_TOKEN_RATE_LIMITER_ADDR, _selectors, SCROLL_MULTISIG_NO_DELAY_ROLE, true);
}

/*
Expand Down

0 comments on commit 0fe1069

Please sign in to comment.