Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 9d920f4

Browse files
authored
fix truffle deployed information for dependency contracts (#1522)
1 parent abd4f2c commit 9d920f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/models/network/NetworkController.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ export default class NetworkController {
840840

841841
// Proxy model
842842
private async _updateTruffleDeployedInformation(contractAlias: string, implementation: Contract): Promise<void> {
843-
const contractName = this.projectFile.normalizeContractAlias(contractAlias);
843+
const contractName = this.projectFile.contract(contractAlias);
844844
if (contractName) {
845845
const path = Contracts.getLocalPath(contractName);
846846
const data = fs.readJsonSync(path);

0 commit comments

Comments
 (0)