Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/swift-flies-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Remove unused network name parameter in contract deploy configs
1 change: 0 additions & 1 deletion packages/contracts/deploy-config/goerli-nightly.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DeployConfig } from '../src/deploy-config'

const config: DeployConfig = {
network: 'goerli-nightly',
l1BlockTimeSeconds: 15,
l2BlockGasLimit: 15_000_000,
l2ChainId: 421,
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/deploy-config/goerli.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DeployConfig } from '../src/deploy-config'

const config: DeployConfig = {
network: 'goerli',
l1BlockTimeSeconds: 15,
l2BlockGasLimit: 15_000_000,
l2ChainId: 420,
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/deploy-config/kovan.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DeployConfig } from '../src/deploy-config'

const config: DeployConfig = {
network: 'kovan',
numDeployConfirmations: 1,
gasPrice: 5_000_000_000,
l1BlockTimeSeconds: 15,
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/deploy-config/local.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DeployConfig } from '../src/deploy-config'

const config: DeployConfig = {
network: 'local',
l1BlockTimeSeconds: 15,
l2BlockGasLimit: 15_000_000,
l2ChainId: 17,
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/deploy-config/mainnet.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DeployConfig } from '../src/deploy-config'

const config: DeployConfig = {
network: 'mainnet',
numDeployConfirmations: 4,
gasPrice: 150_000_000_000,
l1BlockTimeSeconds: 15,
Expand Down
9 changes: 0 additions & 9 deletions packages/contracts/src/deploy-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ import { ethers } from 'ethers'
* Defines the configuration for a deployment.
*/
export interface DeployConfig {
/**
* Name of the network to deploy to. Must be the name of one of the networks listed in
* hardhat.config.ts.
*/
network: string

/**
* Whether or not this network is a forked network.
*/
Expand Down Expand Up @@ -135,9 +129,6 @@ const configSpec: {
default?: any
}
} = {
network: {
type: 'string',
},
isForkedNetwork: {
type: 'boolean',
default: false,
Expand Down