Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 6 additions & 0 deletions .changeset/bright-rice-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@eth-optimism/data-transport-layer": patch
"@eth-optimism/hardhat-ovm": patch
---

Fix various minor linting errors
Comment thread
smartcontracts marked this conversation as resolved.
Outdated
6 changes: 3 additions & 3 deletions packages/data-transport-layer/src/services/server/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const optionSettings = {
default: 'l1',
validate: (val: string) => {
return val === 'l1' || val === 'l2'
}
}
},
},
}

export class L1TransportServer extends BaseService<L1TransportServerOptions> {
Expand Down Expand Up @@ -384,7 +384,7 @@ export class L1TransportServer extends BaseService<L1TransportServerOptions> {
const backend = req.query.backend || this.options.defaultBackend
let transaction = null

switch (backend ) {
switch (backend) {
case 'l1':
transaction = await this.state.db.getFullTransactionByIndex(
BigNumber.from(req.params.index).toNumber()
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-ovm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ extendEnvironment((hre) => {
// directory
if ((hre.config as any).typechain) {
if (!(hre as any).config.typechain.outDir.endsWith('-ovm')) {
(hre as any).config.typechain.outDir += '-ovm'
;(hre as any).config.typechain.outDir += '-ovm'
}
}
}
Expand Down