pull/5370/head
yann300 4 years ago
parent 78a73f3444
commit 348ace4cb1
  1. 1
      libs/remix-debug/src/solidity-decoder/types/Mapping.ts
  2. 1
      libs/remix-lib/src/execution/execution-context.ts

@ -2,7 +2,6 @@
import { RefType } from './RefType'
import { normalizeHex } from './util'
import { toBuffer, setLengthLeft, keccak, BN, bufferToHex } from 'ethereumjs-util'
import { intToBuffer } from 'ethjs-util'
export class Mapping extends RefType {
keyType

@ -31,7 +31,6 @@ class StateManagerCommonStorageDump extends StateManager {
this.keyHashes = {}
}
putContractStorage (address, key, value) {
this.keyHashes[keccak(key).toString('hex')] = bufferToHex(key)
return super.putContractStorage(address, key, value)

Loading…
Cancel
Save