From 446de6aae2d99f4804bbfd75083279a69608dac7 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 15 Oct 2019 15:35:44 +0530 Subject: [PATCH] fix --- remix-lib/src/execution/execution-context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix-lib/src/execution/execution-context.js b/remix-lib/src/execution/execution-context.js index 9e4ffd8d2f..79eece0482 100644 --- a/remix-lib/src/execution/execution-context.js +++ b/remix-lib/src/execution/execution-context.js @@ -34,7 +34,7 @@ class StateManagerCommonStorageDump extends StateManager { } putContractStorage (address, key, value, cb) { - this.keyHashes[ethUtil.sha3(key).toString('hex')] = ethUtil.bufferToHex(key) + this.keyHashes[ethUtil.keccak(key).toString('hex')] = ethUtil.bufferToHex(key) super.putContractStorage(address, key, value, cb) }