From edc7b95498a8a1a2699d26fa2833eca2633765b7 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 25 Jun 2021 10:42:41 +0200 Subject: [PATCH] remove uneeded default value --- libs/remix-simulator/src/vm-context.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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