remove commited

pull/1122/head
yann300 4 years ago
parent 9377ad4b30
commit 54a8ccc310
  1. 1
      libs/remix-debug/test/decoder/vmCall.ts
  2. 5
      libs/remix-lib/src/execution/execution-context.ts
  3. 1
      libs/remix-lib/src/web3Provider/web3VmProvider.ts
  4. 1
      libs/remix-simulator/src/provider.ts

@ -43,7 +43,6 @@ async function createVm (hardfork) {
const common = new Common({ chain: 'mainnet', hardfork })
const vm = new VM({ common })
await vm.init()
// vm.blockchain.validate = false
return { vm, stateManager: vm.stateManager }
}

@ -245,11 +245,6 @@ export class ExecutionContext {
if (!infoCb) infoCb = () => {}
if (context === 'vm') {
this.executionContext = context
/*
this.vms[this.currentFork].stateManager.revert().then(() => {
this.vms[this.currentFork].stateManager.checkpoint()
})
*/
this.event.trigger('contextChanged', ['vm'])
return cb()
}

@ -109,7 +109,6 @@ export class Web3VmProvider {
tx['to'] = toChecksumAddress(data.to.toString())
}
this.processingAddress = tx['to']
// tx['data'] = hexConvert(data.data)
tx['input'] = hexConvert(data.data)
tx['gas'] = data.gasLimit.toString(10)
if (data.value) {

@ -39,7 +39,6 @@ export class Provider {
this.methods = merge(this.methods, netMethods())
this.methods = merge(this.methods, this.Transactions.methods())
this.methods = merge(this.methods, (new Debug(this.executionContext)).methods())
// this.init()
}
async init () {

Loading…
Cancel
Save