need parent contract's realRuntimeBytecode

This commit is contained in:
Michael Bradley, Jr 2018-09-19 20:55:00 -05:00
parent 7e52728dc0
commit 4fc9827080
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ class ContractsManager {
contract.code = parentContract.code; contract.code = parentContract.code;
contract.runtimeBytecode = parentContract.runtimeBytecode; contract.runtimeBytecode = parentContract.runtimeBytecode;
contract.realRuntimeBytecode = (parentContract.realRuntimeBytecode || parentContract.runtimeBytecode);
contract.gasEstimates = parentContract.gasEstimates; contract.gasEstimates = parentContract.gasEstimates;
contract.functionHashes = parentContract.functionHashes; contract.functionHashes = parentContract.functionHashes;
contract.abiDefinition = parentContract.abiDefinition; contract.abiDefinition = parentContract.abiDefinition;