Commit 2973f433 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix: Fix various minor linting errors not caught by CI (#635)

* fix: Fix various minor linting errors not caught by CI

* Delete bright-rice-pump.md
parent 5b9be2eb
...@@ -52,8 +52,8 @@ const optionSettings = { ...@@ -52,8 +52,8 @@ const optionSettings = {
default: 'l1', default: 'l1',
validate: (val: string) => { validate: (val: string) => {
return val === 'l1' || val === 'l2' return val === 'l1' || val === 'l2'
} },
} },
} }
export class L1TransportServer extends BaseService<L1TransportServerOptions> { export class L1TransportServer extends BaseService<L1TransportServerOptions> {
...@@ -384,7 +384,7 @@ export class L1TransportServer extends BaseService<L1TransportServerOptions> { ...@@ -384,7 +384,7 @@ export class L1TransportServer extends BaseService<L1TransportServerOptions> {
const backend = req.query.backend || this.options.defaultBackend const backend = req.query.backend || this.options.defaultBackend
let transaction = null let transaction = null
switch (backend ) { switch (backend) {
case 'l1': case 'l1':
transaction = await this.state.db.getFullTransactionByIndex( transaction = await this.state.db.getFullTransactionByIndex(
BigNumber.from(req.params.index).toNumber() BigNumber.from(req.params.index).toNumber()
......
...@@ -197,7 +197,7 @@ extendEnvironment((hre) => { ...@@ -197,7 +197,7 @@ extendEnvironment((hre) => {
// directory // directory
if ((hre.config as any).typechain) { if ((hre.config as any).typechain) {
if (!(hre as any).config.typechain.outDir.endsWith('-ovm')) { if (!(hre as any).config.typechain.outDir.endsWith('-ovm')) {
(hre as any).config.typechain.outDir += '-ovm' ;(hre as any).config.typechain.outDir += '-ovm'
} }
} }
} }
......
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