Merge pull request #876 from embark-framework/bug_fix/redeploy-instanceOf

fix for instance contracts not redploying when parent changes
This commit is contained in:
Iuri Matias 2018-09-21 09:21:36 -04:00 committed by GitHub
commit d975c2ad81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;