remix-simulator default to last fork

pull/1344/head
yann300 3 years ago committed by joseph izang
parent a06e31d28d
commit 4c765dba29
  1. 2
      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

Loading…
Cancel
Save