Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Fix custom timelock config
Browse files Browse the repository at this point in the history
  • Loading branch information
abandeali1 committed Nov 17, 2019
1 parent 9ca65c9 commit 459f1c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/migrations/src/utils/timelocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function getTimelockRegistrationsAsync(provider: SupportedProvider)
// Exchange timelocks

{
destination: exchange.address,
destination: deployedAddresses.exchange,
functionSelector: exchange.getSelector('detachProtocolFeeCollector'),
secondsTimeLocked: constants.ZERO_AMOUNT,
},
Expand Down Expand Up @@ -192,13 +192,13 @@ export async function getTimelockRegistrationsAsync(provider: SupportedProvider)
},
// Exchange timelocks
{
destination: exchange.address,
destination: deployedAddresses.exchange,
functionSelector: exchange.getSelector('setProtocolFeeMultiplier'),
secondsTimeLocked:
chainId === constants.MAINNET_CHAIN_ID ? constants.TEN_DAYS_IN_SEC : constants.ZERO_AMOUNT,
},
{
destination: exchange.address,
destination: deployedAddresses.exchange,
functionSelector: exchange.getSelector('setProtocolFeeCollectorAddress'),
secondsTimeLocked:
chainId === constants.MAINNET_CHAIN_ID ? constants.TWENTY_DAYS_IN_SEC : constants.ZERO_AMOUNT,
Expand Down

0 comments on commit 459f1c9

Please sign in to comment.