fix decoding the state

pull/3209/head
yann300 2 years ago
parent b732af0a40
commit ccaba2fb63
  1. 2
      libs/remix-debug/src/solidity-decoder/solidityProxy.ts

@ -60,7 +60,7 @@ export class SolidityProxy {
this.cache.contractDeclarations[address] = extractContractDefinitions(compilationResult.data.sources)
}
if (!this.cache.statesDefinitions[address]) {
this.cache.statesDefinitions[address] = extractStatesDefinitions(compilationResult.data.sources, this.cache.contractDeclarations)
this.cache.statesDefinitions[address] = extractStatesDefinitions(compilationResult.data.sources, this.cache.contractDeclarations[address])
}
return this.cache.statesDefinitions[address]
}

Loading…
Cancel
Save