Commit 37804ac5 authored by yann300's avatar yann300

remove clear()

parent 87725093
...@@ -6,7 +6,7 @@ var util = require('../helpers/global') ...@@ -6,7 +6,7 @@ var util = require('../helpers/global')
class StorageResolver { class StorageResolver {
constructor (_traceManager) { constructor (_traceManager) {
this.traceManager = _traceManager this.traceManager = _traceManager
this.clear() this.storageByAddress = {}
} }
/** /**
...@@ -49,14 +49,6 @@ class StorageResolver { ...@@ -49,14 +49,6 @@ class StorageResolver {
} }
/** /**
* clear the cache
*
*/
clear () {
this.storageByAddress = {}
}
/**
* resolve the storage to the specified execution step @arg index. uses the traceManager.accumulateStorageChanges * resolve the storage to the specified execution step @arg index. uses the traceManager.accumulateStorageChanges
* *
* @param {Int} index - execution step index * @param {Int} index - execution step index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment