Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Jan 13, 2025
1 parent 7ca8c14 commit 6125577
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/remix-lib/src/execution/txRunnerVM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class TxRunnerVM {
this.blocks.push(block.serialize())
}
callback(err, result)
})
})
}

async runInVm (tx: InternalTransaction, callback: VMExecutionCallBack) {
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-simulator/src/methods/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class Web3Accounts {
eth_chainId (_payload, cb) {
if (!this.options.chainId) return cb(null, '0x539') // 0x539 is hex of 1337
const id = (typeof this.options.chainId === 'number') ? toHex(this.options.chainId) : this.options.chainId
return cb(null, id)
return cb(null, id)
}

eth_signTypedData_v4 (payload, cb) {
Expand Down
8 changes: 4 additions & 4 deletions libs/remix-simulator/src/methods/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ export class EVM {
})
}

let blocks = payload.params[0].blocks
const blocks = payload.params[0].blocks

for (let b = 0; b < Number(blocks); b++) {
for (let b = 0; b < Number(blocks); b++) {
await runEmptyBlock()
console.log('mining...', b, this.vmContext.latestBlockNumber)
}
}
cb()
}
}
}

0 comments on commit 6125577

Please sign in to comment.