@ -13,7 +13,6 @@ class Mapping extends RefType {
async decodeFromStorage (location, storageResolver) {
var corrections = this.valueType.members ? this.valueType.members.map((value) => { return value.storagelocation }) : []
if (!this.initialDecodedState) { // cache the decoded initial storage
var mappingsInitialPreimages
try {
@ -9,6 +9,7 @@ module.exports = {
extractHexByteSlice: extractHexByteSlice,
toBN: toBN,
add: add,
sub: sub,
extractLocation: extractLocation,
removeLocation: removeLocation,
normalizeHex: normalizeHex,
@ -111,7 +111,6 @@ class StorageViewer {
/**
* retrieve mapping location changes from the storage changes.
* @param {Map} storageChanges
* @param {Array} corrections - used in case the calculated sha3 has been modifyed before SSTORE (notably used for struct in mapping).
*/