diff --git a/apps/remix-ide/src/app/tabs/runTab/model/recorder.js b/apps/remix-ide/src/app/tabs/runTab/model/recorder.js index dea794a827..26ae3f6085 100644 --- a/apps/remix-ide/src/app/tabs/runTab/model/recorder.js +++ b/apps/remix-ide/src/app/tabs/runTab/model/recorder.js @@ -26,7 +26,7 @@ class Recorder { var record = { value, parameters: payLoad.funArgs } if (!to) { var abi = payLoad.contractABI - var keccak = ethutil.bufferToHex(ethutil.keccak(abi)) + var keccak = ethutil.bufferToHex(ethutil.keccak(JSON.stringify(abi))) record.abi = keccak record.contractName = payLoad.contractName record.bytecode = payLoad.contractBytecode