remove uneeded default value

pull/1340/head
yann300 3 years ago
parent a2f7af4f46
commit edc7b95498
  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