From d4f0c63a139615c4c91654562a91ad67ba53c608 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 7 Aug 2019 11:26:36 -0400 Subject: [PATCH] add comment explaining the the reason for checking the checkpointCount variable --- remix-lib/src/execution/execution-context.js | 1 + 1 file changed, 1 insertion(+) diff --git a/remix-lib/src/execution/execution-context.js b/remix-lib/src/execution/execution-context.js index 08b9b2ce06..b9b130c72d 100644 --- a/remix-lib/src/execution/execution-context.js +++ b/remix-lib/src/execution/execution-context.js @@ -221,6 +221,7 @@ function ExecutionContext () { } this.checkpointAndCommit = function (cb, checkpointCount) { + // due to issue https://github.com/ethereumjs/ethereumjs-vm/issues/567 if (this.vm().stateManager._checkpointCount > (checkpointCount || 0)) { return this.vm().stateManager.commit(() => { cb()