fix typo libs/remix-debug/src/storage/mappingPreimages.ts

pull/4428/head
vuittont60 10 months ago committed by Aniket
parent 331fcaf8fc
commit e926498a90
  1. 2
      libs/remix-debug/src/storage/mappingPreimages.ts

@ -6,7 +6,7 @@ import { sub } from '../solidity-decoder/types/util'
* *
* @param {Object} storage - storage given by storage Viewer (basically a mapping hashedkey : {key, value}) * @param {Object} storage - storage given by storage Viewer (basically a mapping hashedkey : {key, value})
* @param {Array} corrections - used in case the calculated sha3 has been modifyed before SSTORE (notably used for struct in mapping). * @param {Array} corrections - used in case the calculated sha3 has been modifyed before SSTORE (notably used for struct in mapping).
* @param {Function} callback - calback * @param {Function} callback - callback
* @return {Map} - solidity mapping location (e.g { "<mapping_slot>" : { "<mapping-key1>": preimageOf1 }, { "<mapping-key2>": preimageOf2 }, ... }) * @return {Map} - solidity mapping location (e.g { "<mapping_slot>" : { "<mapping-key1>": preimageOf1 }, { "<mapping-key2>": preimageOf2 }, ... })
*/ */
export async function decodeMappingsKeys (web3, storage, corrections) { export async function decodeMappingsKeys (web3, storage, corrections) {

Loading…
Cancel
Save