Skip to content

Commit

Permalink
frontend: debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Jul 24, 2024
1 parent ffcddf9 commit 6c7a3e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/Relay/relayer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import { PolygonZkRelayer } from './PolygonZkRelayer.js'
import { OptimismRelayer } from './OptimismRelayer.js'
import { ArbitrumRelayer } from './ArbitrumRelayer.js'
import { GnosisRelayer } from './GnosisRelayer.js'
import { LineaRelayer } from './LineaRelayer.js'
// import { LineaRelayer } from './LineaRelayer.js'

export { PolygonRelayer }
export { PolygonZkRelayer }
export { OptimismRelayer }
export { ArbitrumRelayer}
export { GnosisRelayer }
export { LineaRelayer }
// export { LineaRelayer }

type Provider = providers.Provider

Expand All @@ -29,8 +29,8 @@ export function getRelayer (networkSlug: NetworkSlug, chainSlug: ChainSlug, l1Wa
return new GnosisRelayer(networkSlug, chainSlug, l1Wallet, l2Wallet)
} else if (chainSlug === ChainSlug.Arbitrum || chainSlug === ChainSlug.Nova) {
return new ArbitrumRelayer(networkSlug, chainSlug, l1Wallet, l2Wallet)
} else if (chainSlug === ChainSlug.Linea) {
return new LineaRelayer(networkSlug, chainSlug, l1Wallet, l2Wallet)
// } else if (chainSlug === ChainSlug.Linea) {
// return new LineaRelayer(networkSlug, chainSlug, l1Wallet, l2Wallet)
}

throw new Error(`unsupported chainSlug: ${chainSlug}`)
Expand Down

0 comments on commit 6c7a3e1

Please sign in to comment.