From c5da88802ffdc482c45a0b95e2c80f075d68cc7e Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Dec 2022 21:56:10 +0100 Subject: [PATCH] remove commented code --- libs/remix-simulator/src/vm-context.ts | 13 ------------- 1 file changed, 13 deletions(-) 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)) {