From 4c765dba290bbb9d8c0e95d1d7ffd99a0c4c27fe Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 28 Jun 2021 17:39:19 +0200 Subject: [PATCH] remix-simulator default to last fork --- libs/remix-simulator/src/vm-context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-simulator/src/vm-context.ts b/libs/remix-simulator/src/vm-context.ts index a7e766c6ba..363e9ab50e 100644 --- a/libs/remix-simulator/src/vm-context.ts +++ b/libs/remix-simulator/src/vm-context.ts @@ -99,7 +99,7 @@ export class VMContext { constructor (fork?) { this.blockGasLimitDefault = 4300000 this.blockGasLimit = this.blockGasLimitDefault - this.currentFork = fork + this.currentFork = fork || 'berlin' this.currentVm = this.createVm(this.currentFork) this.blocks = {} this.latestBlockNumber = 0