mirror of https://github.com/embarklabs/embark.git
Merge pull request #546 from embark-framework/fix_contract_tracking_issue
fix contract tracking issue
This commit is contained in:
commit
a0a2d16cb3
|
@ -20,7 +20,7 @@ class DeployTracker {
|
||||||
this.events.on("deploy:beforeAll", this.setCurrentChain.bind(this));
|
this.events.on("deploy:beforeAll", this.setCurrentChain.bind(this));
|
||||||
|
|
||||||
this.events.on("deploy:contract:deployed", (contract) => {
|
this.events.on("deploy:contract:deployed", (contract) => {
|
||||||
self.trackContract(contract.className, contract.realRuntimeBytecode, contract.realArgs, contract.address);
|
self.trackContract(contract.className, contract.realRuntimeBytecode, contract.realArgs, contract.deployedAddress);
|
||||||
self.save();
|
self.save();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue