Commit 5d41653d authored by Kelvin Fichter's avatar Kelvin Fichter

maint(ctb): standardized whitespace in deploys

Standardizes the whitespace in deployment files. I have nothing better
to do right now.
parent a7cfdeb1
......@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
await deploy({
hre,
name: 'ProxyAdmin',
......
......@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
await deploy({
hre,
name: 'Lib_AddressManager',
......
......@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
await deploy({
hre,
name: 'Proxy__OVM_L1StandardBridge',
......
......@@ -8,6 +8,7 @@ import {
const deployFn: DeployFunction = async (hre) => {
const proxyAdmin = await getDeploymentAddress(hre, 'ProxyAdmin')
await deploy({
hre,
name: 'L2OutputOracleProxy',
......
......@@ -4,6 +4,7 @@ import { deploy, getDeploymentAddress } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const addressManager = await getDeploymentAddress(hre, 'Lib_AddressManager')
await deploy({
hre,
name: 'Proxy__OVM_L1CrossDomainMessenger',
......
......@@ -8,6 +8,7 @@ import {
const deployFn: DeployFunction = async (hre) => {
const proxyAdmin = await getDeploymentAddress(hre, 'ProxyAdmin')
await deploy({
hre,
name: 'OptimismPortalProxy',
......
......@@ -8,6 +8,7 @@ import {
const deployFn: DeployFunction = async (hre) => {
const proxyAdmin = await getDeploymentAddress(hre, 'ProxyAdmin')
await deploy({
hre,
name: 'OptimismMintableERC20FactoryProxy',
......
......@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
await deploy({
hre,
name: 'L1ERC721BridgeProxy',
......
......@@ -8,6 +8,7 @@ import {
const deployFn: DeployFunction = async (hre) => {
const proxyAdmin = await getDeploymentAddress(hre, 'ProxyAdmin')
await deploy({
hre,
name: 'SystemConfigProxy',
......
......@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const { deployer } = await hre.getNamedAccounts()
await deploy({
hre,
name: 'SystemDictatorProxy',
......
......@@ -4,10 +4,9 @@ import '@eth-optimism/hardhat-deploy-config'
import { assertContractVariable, deploy } from '../src/deploy-utils'
const deployFn: DeployFunction = async (hre) => {
const batcherHash = hre.ethers.utils.hexZeroPad(
hre.deployConfig.batchSenderAddress,
32
)
const batcherHash = hre.ethers.utils
.hexZeroPad(hre.deployConfig.batchSenderAddress, 32)
.toLowerCase()
await deploy({
hre,
......@@ -35,11 +34,7 @@ const deployFn: DeployFunction = async (hre) => {
'scalar',
hre.deployConfig.gasPriceOracleScalar
)
await assertContractVariable(
contract,
'batcherHash',
batcherHash.toLowerCase()
)
await assertContractVariable(contract, 'batcherHash', batcherHash)
},
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment