remove uneeded default value

pull/5370/head
yann300 3 years ago committed by joseph izang
parent ee6f759d82
commit 0bcc4703be
  1. 4
      libs/remix-simulator/src/vm-context.ts

@ -91,7 +91,6 @@ export class VMContext {
blocks
latestBlockNumber
txs
defaultFork
currentVm
web3vm
logsManager
@ -100,8 +99,7 @@ export class VMContext {
constructor (fork?) {
this.blockGasLimitDefault = 4300000
this.blockGasLimit = this.blockGasLimitDefault
this.defaultFork = fork || 'berlin'
this.currentFork = this.defaultFork
this.currentFork = fork
this.currentVm = this.createVm(this.currentFork)
this.blocks = {}
this.latestBlockNumber = 0

Loading…
Cancel
Save