diff --git a/libs/remix-simulator/src/vm-context.ts b/libs/remix-simulator/src/vm-context.ts index e0a3aef849..a7e766c6ba 100644 --- a/libs/remix-simulator/src/vm-context.ts +++ b/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