mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-30 23:46:47 +00:00
feature(@packages/solidity): include ast in compiled object
This commit is contained in:
parent
e2767c27a9
commit
c395826c53
@ -157,6 +157,7 @@ class Solidity {
|
||||
compiled_object[className].functionHashes = contract.evm.methodIdentifiers;
|
||||
compiled_object[className].abiDefinition = contract.abi;
|
||||
compiled_object[className].userdoc = contract.userdoc;
|
||||
compiled_object[className].ast = output.sources[contractFile].ast;
|
||||
compiled_object[className].filename = filename;
|
||||
const normalized = path.normalize(filename);
|
||||
compiled_object[className].originalFilename = Object.values(originalFilepaths).find(ogFilePath => normalized.indexOf(ogFilePath) > -1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user