Commit 47d85808 authored by yann300's avatar yann300 Committed by joseph izang

remove uneeded default value

parent 171f5b05
...@@ -91,7 +91,6 @@ export class VMContext { ...@@ -91,7 +91,6 @@ export class VMContext {
blocks blocks
latestBlockNumber latestBlockNumber
txs txs
defaultFork
currentVm currentVm
web3vm web3vm
logsManager logsManager
...@@ -100,8 +99,7 @@ export class VMContext { ...@@ -100,8 +99,7 @@ export class VMContext {
constructor (fork?) { constructor (fork?) {
this.blockGasLimitDefault = 4300000 this.blockGasLimitDefault = 4300000
this.blockGasLimit = this.blockGasLimitDefault this.blockGasLimit = this.blockGasLimitDefault
this.defaultFork = fork || 'berlin' this.currentFork = fork
this.currentFork = this.defaultFork
this.currentVm = this.createVm(this.currentFork) this.currentVm = this.createVm(this.currentFork)
this.blocks = {} this.blocks = {}
this.latestBlockNumber = 0 this.latestBlockNumber = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment