diff --git a/libs/remix-simulator/src/vm-context.ts b/libs/remix-simulator/src/vm-context.ts index 0928212d40..0354b3eeaa 100644 --- a/libs/remix-simulator/src/vm-context.ts +++ b/libs/remix-simulator/src/vm-context.ts @@ -77,20 +77,7 @@ class StateManagerCommonStorageDump extends DefaultStateManager { }) } - /* - async getStateRoot (force = false) { - await this._cache.flush() - - const stateRoot = this._trie.root - return stateRoot - } - */ - async setStateRoot (stateRoot) { - /*if (this._checkpointCount !== 0) { - throw new Error('Cannot set state root with uncommitted checkpoints') - }*/ - await this._cache.flush() if (!stateRoot.equals(this._trie.EMPTY_TRIE_ROOT)) {