From 4fc98270803b6f366b49755b530d00e07bcc5dc9 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 19 Sep 2018 20:55:00 -0500 Subject: [PATCH] need parent contract's realRuntimeBytecode --- lib/modules/contracts_manager/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules/contracts_manager/index.js b/lib/modules/contracts_manager/index.js index 7fc4e578..5f4023e9 100644 --- a/lib/modules/contracts_manager/index.js +++ b/lib/modules/contracts_manager/index.js @@ -194,6 +194,7 @@ class ContractsManager { contract.code = parentContract.code; contract.runtimeBytecode = parentContract.runtimeBytecode; + contract.realRuntimeBytecode = (parentContract.realRuntimeBytecode || parentContract.runtimeBytecode); contract.gasEstimates = parentContract.gasEstimates; contract.functionHashes = parentContract.functionHashes; contract.abiDefinition = parentContract.abiDefinition;