Skip to content

Commit

Permalink
formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmckelvy1 committed Sep 5, 2024
1 parent 234b5a2 commit 678b00a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions scripts/deployment/phase2-assets/assets/deploy_pyusd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ import {
} from '../../../deployment/common'
import { priceTimeout } from '../../../deployment/utils'
import { Asset, ICollateral } from '../../../../typechain'
import { PYUSD_MAX_TRADE_VOLUME, PYUSD_ORACLE_ERROR, PYUSD_ORACLE_TIMEOUT } from '#/test/plugins/individual-collateral/aave-v3/constants'
import {
PYUSD_MAX_TRADE_VOLUME,
PYUSD_ORACLE_ERROR,
PYUSD_ORACLE_TIMEOUT,
} from '#/test/plugins/individual-collateral/aave-v3/constants'
import { CollateralStatus } from '#/common/constants'
import { expect } from 'chai'

Expand All @@ -28,10 +32,10 @@ async function main() {
throw new Error(`Missing network configuration for ${hre.network.name}`)
}

// Only exists on Mainnet
if (baseL2Chains.includes(hre.network.name) || arbitrumL2Chains.includes(hre.network.name)) {
throw new Error(`Invalid network ${hre.network.name} - only available on Mainnet`)
}
// Only exists on Mainnet
if (baseL2Chains.includes(hre.network.name) || arbitrumL2Chains.includes(hre.network.name)) {
throw new Error(`Invalid network ${hre.network.name} - only available on Mainnet`)
}

// Get phase1 deployment
const phase1File = getDeploymentFilename(chainId)
Expand Down

0 comments on commit 678b00a

Please sign in to comment.