linting fixed for remix-debug

pull/4771/head
lianahus 7 months ago
parent f5cdc389a7
commit e5920ae3b2
  1. 1
      libs/remix-debug/test/decoder/localsTests/calldata.ts
  2. 1
      libs/remix-debug/test/resources/ast.ts
  3. 2
      libs/remix-debug/test/sourceLocationTracker.ts
  4. 1
      libs/remix-debug/test/vmCall.ts

@ -63,7 +63,6 @@ module.exports = async function (st, privateKey, contractBytecode, compilationRe
}) })
}) })
traceManager.resolveTrace(tx).then(() => { traceManager.resolveTrace(tx).then(() => {
debuggerEvent.trigger('newTraceLoaded', [traceManager.trace]) debuggerEvent.trigger('newTraceLoaded', [traceManager.trace])
}).catch((error) => { }).catch((error) => {

@ -180,7 +180,6 @@ node['ast'].ast = {
src: '0:233:0' src: '0:233:0'
} }
node['source'] = `contract test { node['source'] = `contract test {
int x; int x;

@ -54,8 +54,6 @@ tape('SourceLocationTracker', function (t) {
traceManager.resolveTrace(tx).then(async () => { traceManager.resolveTrace(tx).then(async () => {
try { try {
// with debugWithGeneratedSources: false // with debugWithGeneratedSources: false
const sourceLocationTracker = new SourceLocationTracker(codeManager, { debugWithGeneratedSources: false }) const sourceLocationTracker = new SourceLocationTracker(codeManager, { debugWithGeneratedSources: false })

@ -4,7 +4,6 @@ import { Address } from '@ethereumjs/util'
import { Web3 } from 'web3'; import { Web3 } from 'web3';
const { Provider } = require('@remix-project/remix-simulator') const { Provider } = require('@remix-project/remix-simulator')
async function getWeb3 () { async function getWeb3 () {
const remixSimulatorProvider = new Provider({ fork: 'berlin' }) const remixSimulatorProvider = new Provider({ fork: 'berlin' })
await remixSimulatorProvider.init() await remixSimulatorProvider.init()

Loading…
Cancel
Save