@ -295,7 +295,7 @@ class SettingsUI {
*/
_getProviderDropdownValue () {
const provider = this.blockchain.getProvider()
const fork = this.blockchain.getFork()
const fork = this.blockchain.getCurrentFork()
return provider === 'vm' ? provider + '-' + fork : provider
}
@ -212,6 +212,7 @@ class Blockchain {
* return the fork name applied to the current envionment
* @return {String} - fork name
getCurrentFork () {
return this.executionContext.getCurrentFork()
@ -136,7 +136,7 @@ export class ExecutionContext {
return cb()
this.currentFork = this.defaultFork
this.currentFork = this.defaultFork // in the case of injected and web3, we default to the last fork.
if (context === 'injected') {
if (injectedProvider === undefined) {
@ -34,7 +34,7 @@ export class CodeManager {
})
},
fork: this.traceManager.getFork()
fork: this.traceManager.getCurrentFork()
@ -72,7 +72,7 @@ export class TraceManager {
this.traceCache.init()
getFork () {
return this.fork