OpenZeppelin / openzeppelin-sdk

OpenZeppelin SDK repository for CLI and upgrades.js. No longer actively developed.
MIT License
431 stars 200 forks source link

Fix truffle deployed information for dependency contracts #1522

Closed frangio closed 4 years ago

frangio commented 4 years ago

Fixes https://github.com/OpenZeppelin/openzeppelin-sdk/issues/1516.

At some point we introduced the "normalize contract alias" function and I think we replaced most uses of .contract() for it because it was almost the same, but it differs in an important detail when the contract is not local, which was causing this issue.

No regression tests because unfortunately we don't have an existing test setup for truffle deployed information.